Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Blocks.MuxDemux") translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Blocks.MuxDemux") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 110.5 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 187.3 kB / 19.38 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2104/0.2104, allocations: 44.2 MB / 337.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 71.88 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3663, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002802/0.3691, allocations: 1.55 MB / 0.5211 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001413/0.3693, allocations: 53.84 kB / 0.5211 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.3694, allocations: 2.406 kB / 0.5211 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.3695, allocations: 15.44 kB / 0.5211 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.445e-05/0.3696, allocations: 4.688 kB / 0.5211 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.3697, allocations: 32.16 kB / 0.5212 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.3698, allocations: 66.47 kB / 0.5212 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.3701, allocations: 132.2 kB / 0.5214 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.3702, allocations: 40.47 kB / 0.5214 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.3702, allocations: 38.52 kB / 0.5214 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.3703, allocations: 9.438 kB / 0.5215 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.753e-05/0.3703, allocations: 8.156 kB / 0.5215 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-05/0.3704, allocations: 65.39 kB / 0.5215 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.913e-05/0.3704, allocations: 65.05 kB / 0.5216 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.3707, allocations: 151.8 kB / 0.5217 GB, free: 2.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3707, allocations: 0 / 0.5217 GB, free: 2.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3707, allocations: 0 / 0.5217 GB, free: 2.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3707, allocations: 0 / 0.5217 GB, free: 2.191 MB / 382.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.0004461/0.3711, allocations: 442.8 kB / 0.5222 GB, free: 1.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3712, allocations: 9.203 kB / 0.5222 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.3713, allocations: 20.64 kB / 0.5222 GB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.3714, allocations: 210 kB / 0.5224 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3715, allocations: 16.12 kB / 0.5224 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.3715, allocations: 20.61 kB / 0.5224 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.3718, allocations: 202.6 kB / 0.5226 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3719, allocations: 5.25 kB / 0.5226 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.3719, allocations: 13.38 kB / 0.5226 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.016e-06/0.3719, allocations: 4.031 kB / 0.5226 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.3721, allocations: 122.2 kB / 0.5227 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.3727, allocations: 0.4884 MB / 0.5232 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.097e-05/0.3728, allocations: 51.52 kB / 0.5233 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.366e-05/0.3729, allocations: 31.22 kB / 0.5233 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.3729, allocations: 0 / 0.5233 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.3729, allocations: 32.36 kB / 0.5233 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3729, allocations: 0 / 0.5233 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002321/0.3732, allocations: 85.59 kB / 0.5234 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.3732, allocations: 57.42 kB / 0.5235 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/0.3733, allocations: 106 kB / 0.5236 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.3733, allocations: 26.7 kB / 0.5236 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.3734, allocations: 138.3 kB / 0.5237 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3734, allocations: 14.69 kB / 0.5237 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.3734, allocations: 14.5 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.3735, allocations: 317.8 kB / 0.5241 GB, free: 220 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.18e-05/0.3735, allocations: 9.828 kB / 0.5241 GB, free: 220 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.553e-05/0.3736, allocations: 17.64 kB / 0.5241 GB, free: 212 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.576e-05/0.3736, allocations: 33.69 kB / 0.5241 GB, free: 196 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3736, allocations: 0 / 0.5241 GB, free: 196 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000106/0.3738, allocations: 71.5 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3738, allocations: 7.844 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3738, allocations: 1.906 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3738, allocations: 0 / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.913e-05/0.3739, allocations: 9.094 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3739, allocations: 6.031 kB / 0.5242 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/0.3739, allocations: 3.094 kB / 0.5242 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.374, allocations: 1.188 kB / 0.5242 GB, free: 140 kB / 382.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 8.161e-05/0.374, allocations: 133.5 kB / 0.5243 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.3741, allocations: 10.3 kB / 0.5244 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.3741, allocations: 6.297 kB / 0.5244 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3741, allocations: 5.156 kB / 0.5244 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3741, allocations: 0 / 0.5244 GB, free: 0 / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.3742, allocations: 86.83 kB / 0.5244 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.3742, allocations: 5.797 kB / 0.5245 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.742e-05/0.3743, allocations: 2.922 kB / 0.5245 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.3743, allocations: 3.906 kB / 0.5245 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001598/0.3745, allocations: 144.8 kB / 0.5246 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001868/0.3746, allocations: 241.6 kB / 0.5248 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.039e-05/0.3747, allocations: 20.19 kB / 0.5248 GB, free: 15.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.32e-05/0.3748, allocations: 87.39 kB / 0.5249 GB, free: 15.46 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3748, allocations: 1.438 kB / 0.5249 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003401/0.3751, allocations: 95.53 kB / 0.525 GB, free: 15.39 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006723/0.3758, allocations: 0.7121 MB / 0.5257 GB, free: 14.73 MB / 398.1 MB Notification: Performance of Templates: time 0.003872/0.3797, allocations: 0.7586 MB / 0.5265 GB, free: 14.64 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches