Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 86.22 kB / 21.44 MB, free: 296 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 160.8 kB / 24.7 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.396e-05, allocations: 2.281 kB / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.002454/0.002478, allocations: 1.501 MB / 300.4 MB, free: 7.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.00441, allocations: 0.8631 MB / 301.3 MB, free: 6.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.004455, allocations: 0 / 301.3 MB, free: 6.344 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.198e-05/0.004547, allocations: 15.86 kB / 301.3 MB, free: 6.328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.425e-05/0.004631, allocations: 23.73 kB / 301.3 MB, free: 6.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.004879, allocations: 55.88 kB / 301.4 MB, free: 6.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.005112, allocations: 163.6 kB / 301.6 MB, free: 6.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.797e-05/0.0052, allocations: 21.56 kB / 301.6 MB, free: 6.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007782/0.005978, allocations: 0.659 MB / 302.2 MB, free: 5.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.006133, allocations: 75.69 kB / 302.3 MB, free: 5.336 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.736e-05/0.00619, allocations: 12 kB / 302.3 MB, free: 5.324 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.608e-05/0.006236, allocations: 12 kB / 302.3 MB, free: 5.312 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.49e-05/0.006331, allocations: 75.72 kB / 302.4 MB, free: 5.238 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.006443, allocations: 59.78 kB / 302.5 MB, free: 5.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.006967, allocations: 462.4 kB / 302.9 MB, free: 4.727 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.006972, allocations: 4 kB / 302.9 MB, free: 4.723 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006973, allocations: 0 / 302.9 MB, free: 4.723 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.006978, allocations: 4 kB / 302.9 MB, free: 4.719 MB / 286.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.0009036/0.007882, allocations: 0.7501 MB / 303.7 MB, free: 3.906 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.007925, allocations: 19.92 kB / 303.7 MB, free: 3.887 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.187e-05/0.008007, allocations: 40.7 kB / 303.7 MB, free: 3.848 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.008317, allocations: 240 kB / 304 MB, free: 3.586 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.00834, allocations: 8.375 kB / 304 MB, free: 3.578 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.008372, allocations: 8.375 kB / 304 MB, free: 3.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.008841, allocations: 326.5 kB / 304.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.008849, allocations: 192 / 304.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.008879, allocations: 4.375 kB / 304.3 MB, free: 3.211 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.008885, allocations: 7.938 kB / 304.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.009173, allocations: 232.5 kB / 304.5 MB, free: 2.945 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000689/0.009862, allocations: 424.2 kB / 305 MB, free: 2.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.01019, allocations: 247 kB / 305.2 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.01049, allocations: 237.3 kB / 305.4 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.0105, allocations: 0 / 305.4 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005363/0.01103, allocations: 399.1 kB / 305.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.01103, allocations: 0 / 305.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001259/0.01229, allocations: 0.9207 MB / 306.7 MB, free: 500 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.01243, allocations: 199.9 kB / 306.9 MB, free: 256 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008051/0.01324, allocations: 0.5563 MB / 307.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.01328, allocations: 33.7 kB / 307.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.01339, allocations: 117.1 kB / 307.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.01344, allocations: 31.92 kB / 307.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.0136, allocations: 101.5 kB / 307.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.0138, allocations: 330.8 kB / 308.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.01408, allocations: 232.4 kB / 308.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.01437, allocations: 246.2 kB / 308.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.01486, allocations: 446.8 kB / 309 MB, free: 14.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01486, allocations: 7.938 kB / 309 MB, free: 14.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00086/0.01572, allocations: 0.6624 MB / 309.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.01585, allocations: 148.5 kB / 309.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.01587, allocations: 7.984 kB / 309.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.01589, allocations: 0 / 309.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.371e-05/0.01591, allocations: 0 / 309.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.01592, allocations: 0 / 309.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.01607, allocations: 23.92 kB / 309.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.0162, allocations: 97.44 kB / 309.9 MB, free: 12.98 MB / 302.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.0004095/0.01661, allocations: 408.3 kB / 310.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.01668, allocations: 47.66 kB / 310.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.0168, allocations: 75.39 kB / 310.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.0168, allocations: 3.938 kB / 310.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.0168, allocations: 4 kB / 310.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.01681, allocations: 0 / 310.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.01814, allocations: 1.034 MB / 311.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01814, allocations: 0 / 311.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-06/0.01815, allocations: 3.938 kB / 311.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01815, allocations: 0 / 311.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/0.01821, allocations: 27.98 kB / 311.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01821, allocations: 0 / 311.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01821, allocations: 0 / 311.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.01925, allocations: 0.8204 MB / 312.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003956/0.01964, allocations: 217.3 kB / 312.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.01971, allocations: 12.19 kB / 312.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.01986, allocations: 16 kB / 312.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.02003, allocations: 55.92 kB / 312.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.02015, allocations: 101.4 kB / 312.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005333/0.02069, allocations: 426.8 kB / 313.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02069, allocations: 0 / 313.2 MB, free: 9.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000306/0.02099, allocations: 52 kB / 313.2 MB, free: 9.492 MB / 302.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.0001609/0.02115, allocations: 111.2 kB / 313.3 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000835/0.02199, allocations: 0.7714 MB / 314.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02199, allocations: 0 / 314.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005797/0.02257, allocations: 0.5287 MB / 314.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008551/0.02343, allocations: 188.6 kB / 314.8 MB, free: 7.676 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.02477, allocations: 0.9078 MB / 315.7 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.02506, allocations: 211.4 kB / 315.9 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.02512, allocations: 24.92 kB / 315.9 MB, free: 6.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.02515, allocations: 12.5 kB / 316 MB, free: 6.441 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.02515, allocations: 0 / 316 MB, free: 6.441 MB / 302.1 MB Notification: Performance of Templates: time 0.1439/0.1691, allocations: 7.982 MB / 323.9 MB, free: 34.79 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.301795803010464]