Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 117.4 kB / 19.18 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001772/0.001772, allocations: 206.5 kB / 22.13 MB, free: 0.9258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 63.89 kB / 374.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1118, allocations: 53.33 MB / 427.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003143/0.115, allocations: 1.574 MB / 429.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.1172, allocations: 0.9004 MB / 430.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.1172, allocations: 0 / 430.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.1173, allocations: 15.86 kB / 430.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.1174, allocations: 27.78 kB / 430.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1177, allocations: 51.88 kB / 430.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.118, allocations: 155.7 kB / 430.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1181, allocations: 21.39 kB / 430.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007581/0.1189, allocations: 0.6356 MB / 431.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.119, allocations: 83.62 kB / 431.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.1191, allocations: 12 kB / 431.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.629e-05/0.1191, allocations: 12 kB / 431.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1193, allocations: 83.67 kB / 431.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.1194, allocations: 131 kB / 431.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.1199, allocations: 458 kB / 432 MB, free: 316 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1199, allocations: 0 / 432 MB, free: 316 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1199, allocations: 4 kB / 432 MB, free: 312 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.1199, allocations: 0 / 432 MB, free: 312 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.2087/0.3287, allocations: 0.8185 MB / 432.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3287, allocations: 8.594 kB / 432.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.3289, allocations: 48 kB / 432.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.3293, allocations: 297.5 kB / 433.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.3293, allocations: 11.06 kB / 433.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.3294, allocations: 8.625 kB / 433.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.3298, allocations: 168 kB / 433.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3298, allocations: 0 / 433.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.3298, allocations: 12.08 kB / 433.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3298, allocations: 4.203 kB / 433.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.33, allocations: 85.94 kB / 433.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008931/0.3309, allocations: 0.4982 MB / 433.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.3312, allocations: 100.2 kB / 434 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.3313, allocations: 84.11 kB / 434.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.3313, allocations: 3.594 kB / 434.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004028/0.3317, allocations: 252.5 kB / 434.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.294e-06/0.3317, allocations: 2.594 kB / 434.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009135/0.3327, allocations: 0.6129 MB / 435 MB, free: 10.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.3327, allocations: 195.7 kB / 435.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000663/0.3334, allocations: 0.5649 MB / 435.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.3334, allocations: 34.02 kB / 435.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.3335, allocations: 118 kB / 435.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.3335, allocations: 29.55 kB / 435.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.3337, allocations: 98.22 kB / 436 MB, free: 9.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.101e-05/0.3337, allocations: 335.6 kB / 436.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.3339, allocations: 82 kB / 436.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.334, allocations: 97.28 kB / 436.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.3343, allocations: 436 kB / 436.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3344, allocations: 0.75 kB / 436.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000617/0.335, allocations: 0.5092 MB / 437.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.869e-05/0.335, allocations: 150.8 kB / 437.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.335, allocations: 1.125 kB / 437.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3351, allocations: 1 kB / 437.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.051e-05/0.3351, allocations: 4.844 kB / 437.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.3351, allocations: 1.125 kB / 437.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.3353, allocations: 17.59 kB / 437.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.3354, allocations: 96.27 kB / 437.7 MB, free: 8.641 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,Input0.y,Select.y,Input1.y,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.yy,Mux2x1.nextstate,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002756/0.3357, allocations: 403.6 kB / 438.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.3357, allocations: 50.25 kB / 438.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.464e-05/0.3358, allocations: 70.16 kB / 438.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3358, allocations: 1.125 kB / 438.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3358, allocations: 2.094 kB / 438.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3358, allocations: 1.312 kB / 438.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009757/0.3368, allocations: 0.9627 MB / 439.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3368, allocations: 0.5 kB / 439.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-06/0.3368, allocations: 2.344 kB / 439.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3368, allocations: 0.6562 kB / 439.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.3368, allocations: 23.7 kB / 439.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3368, allocations: 3.625 kB / 439.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3368, allocations: 1.125 kB / 439.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.3375, allocations: 0.6649 MB / 439.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.3379, allocations: 260.7 kB / 440.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.864e-05/0.3379, allocations: 11.72 kB / 440.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3381, allocations: 15.95 kB / 440.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.3382, allocations: 62.48 kB / 440.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.3383, allocations: 106.5 kB / 440.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004594/0.3388, allocations: 423.2 kB / 440.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3388, allocations: 0 / 440.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.3391, allocations: 52.25 kB / 440.8 MB, free: 6.832 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001265/0.3392, allocations: 121.8 kB / 440.9 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005113/0.3397, allocations: 483 kB / 441.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3397, allocations: 0 / 441.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.34, allocations: 382.9 kB / 441.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/0.3408, allocations: 186.2 kB / 441.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.342, allocations: 0.8105 MB / 442.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.3423, allocations: 0.8193 MB / 443.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.3424, allocations: 17.56 kB / 443.6 MB, free: 4.789 MB / 350.1 MB Notification: Performance of SimCode: time 5e-07/0.3424, allocations: 0 / 443.6 MB, free: 4.789 MB / 350.1 MB Notification: Performance of Templates: time 0.008521/0.3509, allocations: 4.294 MB / 447.9 MB, free: 4.266 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.91208718996495]