Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 149.3 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1") translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.096e-05, allocations: 6.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.003157/0.003188, allocations: 1.516 MB / 268.8 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.005436, allocations: 0.8302 MB / 269.7 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.072e-05/0.005507, allocations: 4 kB / 269.7 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.005612, allocations: 11.86 kB / 269.7 MB, free: 4.336 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.005725, allocations: 31.73 kB / 269.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.006072, allocations: 55.81 kB / 269.8 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.00637, allocations: 155.7 kB / 269.9 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.0065, allocations: 17.59 kB / 269.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009573/0.007457, allocations: 0.6629 MB / 270.6 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.007649, allocations: 75.75 kB / 270.7 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.788e-05/0.007707, allocations: 8 kB / 270.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.182e-05/0.007748, allocations: 12 kB / 270.7 MB, free: 3.316 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.007861, allocations: 79.7 kB / 270.8 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.007992, allocations: 67.72 kB / 270.8 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006121/0.008604, allocations: 458.5 kB / 271.3 MB, free: 2.723 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.008608, allocations: 0 / 271.3 MB, free: 2.723 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.00861, allocations: 0 / 271.3 MB, free: 2.723 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.008624, allocations: 0 / 271.3 MB, free: 2.723 MB / 250.7 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.001176/0.0098, allocations: 0.7462 MB / 272 MB, free: 1.914 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.009837, allocations: 12.92 kB / 272 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.009985, allocations: 56.66 kB / 272.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.01039, allocations: 244 kB / 272.3 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/0.01042, allocations: 16.3 kB / 272.4 MB, free: 1.566 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.01046, allocations: 8.375 kB / 272.4 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.011, allocations: 314.6 kB / 272.7 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.01101, allocations: 192 / 272.7 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.01104, allocations: 8.375 kB / 272.7 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.01105, allocations: 3.938 kB / 272.7 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.0114, allocations: 228.5 kB / 272.9 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.01249, allocations: 428.2 kB / 273.3 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.01284, allocations: 251 kB / 273.6 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.01317, allocations: 233.3 kB / 273.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.01319, allocations: 4 kB / 273.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005621/0.01375, allocations: 391.1 kB / 274.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.01375, allocations: 0 / 274.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.001449/0.0152, allocations: 0.9245 MB / 275.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.01536, allocations: 199.9 kB / 275.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008588/0.01622, allocations: 0.5601 MB / 275.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.01626, allocations: 33.7 kB / 275.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.01637, allocations: 121.1 kB / 276 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.01643, allocations: 31.8 kB / 276 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.0166, allocations: 93.55 kB / 276.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.0168, allocations: 326.8 kB / 276.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.01713, allocations: 232.6 kB / 276.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.01745, allocations: 254 kB / 276.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005719/0.01802, allocations: 446.8 kB / 277.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.01802, allocations: 0 / 277.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001045/0.01907, allocations: 0.6773 MB / 278 MB, free: 11.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.01921, allocations: 148.5 kB / 278.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.01922, allocations: 4 kB / 278.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.01924, allocations: 0 / 278.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.491e-05/0.01926, allocations: 0 / 278.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.01928, allocations: 4.141 kB / 278.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.01946, allocations: 16 kB / 278.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.0196, allocations: 101.4 kB / 278.3 MB, free: 10.97 MB / 266.7 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.0005454/0.02015, allocations: 408.2 kB / 278.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.02026, allocations: 59.66 kB / 278.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.02039, allocations: 67.42 kB / 278.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.0204, allocations: 4 kB / 278.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.0204, allocations: 0 / 278.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.0204, allocations: 0 / 278.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.02199, allocations: 1.046 MB / 279.9 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.02199, allocations: 0 / 279.9 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-06/0.022, allocations: 0 / 279.9 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.022, allocations: 0 / 279.9 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.02205, allocations: 23.98 kB / 279.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.02205, allocations: 3.938 kB / 279.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02205, allocations: 0 / 279.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.02349, allocations: 0.8321 MB / 280.7 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.02393, allocations: 217.3 kB / 281 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-05/0.02401, allocations: 8 kB / 281 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.02418, allocations: 19.98 kB / 281 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.02436, allocations: 55.92 kB / 281 MB, free: 8.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.02449, allocations: 101.4 kB / 281.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006312/0.02512, allocations: 418.9 kB / 281.5 MB, free: 7.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02512, allocations: 0 / 281.5 MB, free: 7.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.02548, allocations: 55.95 kB / 281.6 MB, free: 7.473 MB / 266.7 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.0001824/0.02566, allocations: 123.1 kB / 281.7 MB, free: 7.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.02667, allocations: 0.7713 MB / 282.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02667, allocations: 0 / 282.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.02727, allocations: 0.5249 MB / 283 MB, free: 5.832 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009304/0.0282, allocations: 205.8 kB / 283.2 MB, free: 5.641 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.02981, allocations: 0.917 MB / 284.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.03014, allocations: 215.6 kB / 284.3 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.353e-05/0.03023, allocations: 12.97 kB / 284.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.03027, allocations: 20.5 kB / 284.4 MB, free: 4.398 MB / 266.7 MB Notification: Performance of SimCode: time 1.403e-06/0.03027, allocations: 0 / 284.4 MB, free: 4.398 MB / 266.7 MB Notification: Performance of Templates: time 0.01511/0.04539, allocations: 8.011 MB / 292.4 MB, free: 12.34 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/MUX2x1/MUX2x1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.44391660601832]