Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.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_3.2.3_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_3.2.3_ModelicaTest.Blocks.MuxDemux") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009008/0.0009012, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009985/0.0009988, allocations: 177.4 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.226/1.226, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2888/0.2888, allocations: 43.54 MB / 314.5 MB, free: 8.777 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.0004718, allocations: 12 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.09958, allocations: 58.86 MB / 442.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.001685/0.1013, allocations: 1.241 MB / 444 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000144/0.1015, allocations: 47.86 kB / 444 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.1015, allocations: 3.938 kB / 444 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.1017, allocations: 27.89 kB / 444.1 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.03e-05/0.1017, allocations: 0 / 444.1 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.153e-05/0.1018, allocations: 15.98 kB / 444.1 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.019e-05/0.1019, allocations: 43.89 kB / 444.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.1021, allocations: 109.9 kB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.905e-05/0.1021, allocations: 11.94 kB / 444.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.1022, allocations: 23.8 kB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1022, allocations: 4 kB / 444.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-06/0.1022, allocations: 0 / 444.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.1023, allocations: 51.89 kB / 444.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.1023, allocations: 45.58 kB / 444.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.1024, allocations: 107.8 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1025, allocations: 0 / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1025, allocations: 0 / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1025, allocations: 0 / 444.5 MB, free: 11.32 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.0004137/0.1029, allocations: 411.6 kB / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1029, allocations: 12.03 kB / 444.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.103, allocations: 19.77 kB / 444.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1032, allocations: 214.8 kB / 445.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1032, allocations: 12.38 kB / 445.1 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1033, allocations: 20 kB / 445.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.1036, allocations: 196.3 kB / 445.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1036, allocations: 3.938 kB / 445.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1036, allocations: 4 kB / 445.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1036, allocations: 4 kB / 445.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.1038, allocations: 143.5 kB / 445.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.1044, allocations: 499.8 kB / 446 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.147e-05/0.1045, allocations: 42.5 kB / 446 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.1045, allocations: 4 kB / 446 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1045, allocations: 30.56 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1045, allocations: 0 / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002225/0.1048, allocations: 81.8 kB / 446.1 MB, free: 9.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.1048, allocations: 51.41 kB / 446.2 MB, free: 9.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.1049, allocations: 113.8 kB / 446.3 MB, free: 9.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1049, allocations: 25.7 kB / 446.3 MB, free: 9.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.105, allocations: 135.9 kB / 446.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.105, allocations: 23.69 kB / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.105, allocations: 0 / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.1051, allocations: 326.8 kB / 446.8 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.1052, allocations: 8 kB / 446.8 MB, free: 8.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/0.1052, allocations: 19.98 kB / 446.8 MB, free: 8.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.924e-05/0.1052, allocations: 8 kB / 446.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1053, allocations: 0 / 446.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001139/0.1054, allocations: 69.58 kB / 446.9 MB, free: 8.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1054, allocations: 12 kB / 446.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1054, allocations: 0 / 446.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1054, allocations: 0 / 446.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.1055, allocations: 8.438 kB / 446.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1055, allocations: 3.938 kB / 446.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.853e-05/0.1055, allocations: 7.984 kB / 446.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1056, allocations: 11.94 kB / 446.9 MB, free: 8.637 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.652e-05/0.1057, allocations: 133.8 kB / 447.1 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.1057, allocations: 7.906 kB / 447.1 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.77e-05/0.1057, allocations: 7.969 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1057, allocations: 7.984 kB / 447.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1057, allocations: 0 / 447.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1057, allocations: 0 / 447.1 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.1061, allocations: 366.4 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1061, allocations: 4 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.1061, allocations: 11.98 kB / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1061, allocations: 4 kB / 447.5 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.1062, allocations: 4 kB / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1062, allocations: 0 / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1062, allocations: 0 / 447.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.1063, allocations: 159.5 kB / 447.6 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.1064, allocations: 89 kB / 447.7 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.1064, allocations: 0 / 447.7 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.688e-05/0.1064, allocations: 4 kB / 447.7 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.1065, allocations: 7.984 kB / 447.7 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1065, allocations: 4 kB / 447.7 MB, free: 7.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.169e-05/0.1065, allocations: 87.2 kB / 447.8 MB, free: 7.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1065, allocations: 0 / 447.8 MB, free: 7.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.1068, allocations: 35.69 kB / 447.9 MB, free: 7.625 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.729e-05/0.1068, allocations: 91.25 kB / 447.9 MB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.107, allocations: 31.98 kB / 448 MB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.107, allocations: 0 / 448 MB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.889e-05/0.107, allocations: 27.92 kB / 448 MB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.1072, allocations: 15.94 kB / 448 MB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.1077, allocations: 318.7 kB / 448.3 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.108, allocations: 0.732 MB / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.636e-05/0.1081, allocations: 0 / 449.1 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.1081, allocations: 11.44 kB / 449.1 MB, free: 6.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1081, allocations: 3.938 kB / 449.1 MB, free: 6.336 MB / 382.1 MB Notification: Performance of Templates: time 0.002447/0.1105, allocations: 0.6017 MB / 449.7 MB, free: 5.738 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches