Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.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.00184/0.00184, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 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.001973/0.001973, allocations: 214.8 kB / 24.48 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2246/0.2246, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux") translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 71.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3592, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002864/0.3621, allocations: 1.542 MB / 0.5633 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002489/0.3623, allocations: 59.77 kB / 0.5634 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.3624, allocations: 0 / 0.5634 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.3625, allocations: 23.78 kB / 0.5634 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.447e-05/0.3625, allocations: 3.938 kB / 0.5634 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.3627, allocations: 31.91 kB / 0.5634 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.3628, allocations: 63.89 kB / 0.5635 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.3631, allocations: 91.59 kB / 0.5636 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.663e-05/0.3631, allocations: 43.84 kB / 0.5636 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.74e-05/0.3632, allocations: 39.84 kB / 0.5637 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.3632, allocations: 12 kB / 0.5637 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.819e-05/0.3632, allocations: 8 kB / 0.5637 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.098e-05/0.3633, allocations: 67.81 kB / 0.5637 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.154e-05/0.3634, allocations: 55.72 kB / 0.5638 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3636, allocations: 153.7 kB / 0.5639 GB, free: 1.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3636, allocations: 0 / 0.5639 GB, free: 1.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3636, allocations: 0 / 0.5639 GB, free: 1.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3636, allocations: 0 / 0.5639 GB, free: 1.984 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005306/0.3642, allocations: 366.1 kB / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3642, allocations: 12.03 kB / 0.5643 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.3642, allocations: 16.84 kB / 0.5643 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.3645, allocations: 162.2 kB / 0.5645 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3645, allocations: 12.75 kB / 0.5645 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.3645, allocations: 20.38 kB / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.3649, allocations: 193.1 kB / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3649, allocations: 7.938 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3649, allocations: 4 kB / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3649, allocations: 4 kB / 0.5647 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.3651, allocations: 127.3 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/0.3657, allocations: 397 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.332e-05/0.3658, allocations: 42.5 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.3659, allocations: 32.89 kB / 0.5653 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.3659, allocations: 0 / 0.5653 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3659, allocations: 38.5 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.3659, allocations: 0 / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002543/0.3662, allocations: 85.56 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3662, allocations: 51.41 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.3663, allocations: 105.8 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.3663, allocations: 33.7 kB / 0.5656 GB, free: 172 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.3664, allocations: 136.1 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.3664, allocations: 11.86 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.541e-05/0.3665, allocations: 21.78 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3666, allocations: 314.8 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.607e-05/0.3667, allocations: 15.98 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.3667, allocations: 4 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.284e-05/0.3668, allocations: 40.78 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3668, allocations: 0 / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001183/0.3669, allocations: 70.05 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3669, allocations: 4 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3669, allocations: 4 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.367, allocations: 4 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/0.367, allocations: 11.98 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.367, allocations: 0 / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.3671, allocations: 0 / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3671, allocations: 8 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001083/0.3672, allocations: 133.8 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.3672, allocations: 15.88 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.3672, allocations: 12 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3672, allocations: 0 / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3672, allocations: 0 / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3672, allocations: 0 / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.3676, allocations: 294.1 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3676, allocations: 0 / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.3676, allocations: 15.88 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3676, allocations: 7.984 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.3677, allocations: 0 / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3677, allocations: 4 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3677, allocations: 0 / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.3678, allocations: 159.4 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.3678, allocations: 3.984 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.3679, allocations: 4 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-05/0.3679, allocations: 4 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.3679, allocations: 0 / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3679, allocations: 7.938 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.614e-05/0.368, allocations: 95.56 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.368, allocations: 0 / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.3682, allocations: 27.84 kB / 0.5669 GB, free: 14.67 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001071/0.3683, allocations: 91.19 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.3685, allocations: 40.09 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3685, allocations: 0 / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.065e-05/0.3685, allocations: 12 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3689, allocations: 23.92 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.3695, allocations: 301 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.3697, allocations: 118.1 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.3697, allocations: 11.44 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3697, allocations: 0 / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of Templates: time 0.003271/0.373, allocations: 1.269 MB / 0.5688 GB, free: 12.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.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.869741738017183]