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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 183 kB / 16.63 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.1 MB / 222.5 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 97.34 kB / 269.9 MB, free: 8.453 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3517/0.3517, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001007, allocations: 51.92 kB / 429.2 MB, free: 6.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1181, allocations: 57.76 MB / 487 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003665/0.1218, allocations: 1.6 MB / 488.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001688/0.122, allocations: 51.77 kB / 488.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.1221, allocations: 4 kB / 488.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.1223, allocations: 15.86 kB / 488.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.154e-05/0.1223, allocations: 3.984 kB / 488.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.531e-05/0.1224, allocations: 15.98 kB / 488.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.1226, allocations: 71.83 kB / 488.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003461/0.1229, allocations: 123.4 kB / 488.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.123, allocations: 35.92 kB / 488.9 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.1231, allocations: 43.78 kB / 489 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.1231, allocations: 8 kB / 489 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.987e-05/0.1232, allocations: 4 kB / 489 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1233, allocations: 73.03 kB / 489 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1234, allocations: 63.61 kB / 489.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1236, allocations: 139.5 kB / 489.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1236, allocations: 0 / 489.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1236, allocations: 0 / 489.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1237, allocations: 7.938 kB / 489.2 MB, free: 10.3 MB / 378.7 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.0006133/0.1243, allocations: 435.7 kB / 489.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.1243, allocations: 12.03 kB / 489.7 MB, free: 9.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.1244, allocations: 20.66 kB / 489.7 MB, free: 9.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1247, allocations: 212.2 kB / 489.9 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.1247, allocations: 16.69 kB / 489.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.1248, allocations: 20.38 kB / 490 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.1252, allocations: 189.1 kB / 490.1 MB, free: 9.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1253, allocations: 7.938 kB / 490.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.1253, allocations: 8 kB / 490.2 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1253, allocations: 4 kB / 490.2 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.1256, allocations: 127 kB / 490.3 MB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008025/0.1264, allocations: 0.4958 MB / 490.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.1266, allocations: 38.56 kB / 490.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.052e-05/0.1267, allocations: 36.84 kB / 490.8 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.1267, allocations: 0 / 490.8 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1267, allocations: 30.56 kB / 490.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.1267, allocations: 0 / 490.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003008/0.127, allocations: 81.58 kB / 491 MB, free: 8.422 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.1271, allocations: 51.41 kB / 491 MB, free: 8.359 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1272, allocations: 113.8 kB / 491.1 MB, free: 8.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1272, allocations: 25.7 kB / 491.1 MB, free: 8.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/0.1273, allocations: 132 kB / 491.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.1274, allocations: 19.75 kB / 491.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.1274, allocations: 17.72 kB / 491.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1276, allocations: 314.8 kB / 491.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.1276, allocations: 19.94 kB / 491.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.1277, allocations: 12.23 kB / 491.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.1278, allocations: 36.97 kB / 491.7 MB, free: 7.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1278, allocations: 3.938 kB / 491.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001637/0.128, allocations: 65.53 kB / 491.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.128, allocations: 4 kB / 491.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1281, allocations: 3.984 kB / 491.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1281, allocations: 11.98 kB / 491.8 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.1282, allocations: 8 kB / 491.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1282, allocations: 3.938 kB / 491.8 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.569e-05/0.1283, allocations: 0 / 491.8 MB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1283, allocations: 0 / 491.8 MB, free: 7.535 MB / 378.7 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.0001294/0.1284, allocations: 137.8 kB / 491.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.1285, allocations: 3.938 kB / 491.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.1285, allocations: 11.97 kB / 491.9 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1285, allocations: 0 / 491.9 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1285, allocations: 4 kB / 491.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1285, allocations: 0 / 491.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.129, allocations: 362.4 kB / 492.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.129, allocations: 0 / 492.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.1291, allocations: 12 kB / 492.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1291, allocations: 3.938 kB / 492.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-06/0.1291, allocations: 0 / 492.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1292, allocations: 0 / 492.3 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.1292, allocations: 7.984 kB / 492.3 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.1297, allocations: 0.7201 MB / 493 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1298, allocations: 88.95 kB / 493.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1298, allocations: 4 kB / 493.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.1299, allocations: 3.938 kB / 493.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.13, allocations: 8 kB / 493.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.13, allocations: 0 / 493.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.515e-05/0.1301, allocations: 91.58 kB / 493.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1301, allocations: 0 / 493.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005108/0.1306, allocations: 19.84 kB / 493.2 MB, free: 5.934 MB / 378.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: 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.0001029/0.1307, allocations: 95.19 kB / 493.3 MB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.1309, allocations: 39.91 kB / 493.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1309, allocations: 4 kB / 493.4 MB, free: 5.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.341e-05/0.1309, allocations: 12 kB / 493.4 MB, free: 5.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.1314, allocations: 20.16 kB / 493.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007763/0.1322, allocations: 440.1 kB / 493.8 MB, free: 5.285 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.1326, allocations: 0.7283 MB / 494.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.177e-05/0.1326, allocations: 11.84 kB / 494.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.1327, allocations: 15.38 kB / 494.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1327, allocations: 0 / 494.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of Templates: time 0.00328/0.136, allocations: 0.6333 MB / 495.2 MB, free: 3.875 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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