Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.MuxDemux") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001041, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 201.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.000427, allocations: 4 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1293, allocations: 63.57 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.001738/0.1311, allocations: 1.267 MB / 484.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002484/0.1313, allocations: 67.75 kB / 484.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.1314, allocations: 8 kB / 484.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.1316, allocations: 7.922 kB / 484.4 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.971e-05/0.1316, allocations: 3.938 kB / 484.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.1317, allocations: 27.92 kB / 484.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.1319, allocations: 63.88 kB / 484.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.1322, allocations: 115.4 kB / 484.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.447e-05/0.1322, allocations: 19.86 kB / 484.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.1323, allocations: 15.88 kB / 484.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1323, allocations: 0 / 484.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.891e-05/0.1323, allocations: 11.94 kB / 484.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.271e-05/0.1324, allocations: 55.83 kB / 484.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.607e-05/0.1325, allocations: 77.3 kB / 484.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1327, allocations: 127.6 kB / 484.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1327, allocations: 0 / 484.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1327, allocations: 0 / 484.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1327, allocations: 0 / 484.9 MB, free: 2.27 MB / 350.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.0005124/0.1333, allocations: 407.8 kB / 485.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1333, allocations: 8.875 kB / 485.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.1334, allocations: 24.66 kB / 485.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.1336, allocations: 216.1 kB / 485.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1336, allocations: 12.75 kB / 485.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.1337, allocations: 20.38 kB / 485.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.134, allocations: 193.1 kB / 485.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1341, allocations: 3.938 kB / 485.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.1341, allocations: 8 kB / 485.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1341, allocations: 4 kB / 485.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.1343, allocations: 135.3 kB / 486 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.135, allocations: 495.8 kB / 486.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.466e-05/0.1351, allocations: 46.56 kB / 486.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.1352, allocations: 44.89 kB / 486.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.1352, allocations: 0 / 486.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1352, allocations: 38.44 kB / 486.6 MB, free: 500 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1352, allocations: 0 / 486.6 MB, free: 500 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002608/0.1355, allocations: 85.58 kB / 486.6 MB, free: 408 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1356, allocations: 51.41 kB / 486.7 MB, free: 344 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.1357, allocations: 110.1 kB / 486.8 MB, free: 224 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1357, allocations: 29.7 kB / 486.8 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.1358, allocations: 135.9 kB / 487 MB, free: 48 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.1358, allocations: 19.72 kB / 487 MB, free: 28 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.1358, allocations: 17.72 kB / 487 MB, free: 4 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.136, allocations: 314.8 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.1361, allocations: 15.98 kB / 487.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.1361, allocations: 15.98 kB / 487.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.769e-05/0.1362, allocations: 40.78 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1362, allocations: 0 / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001343/0.1364, allocations: 73.53 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1364, allocations: 4 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1364, allocations: 0 / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1364, allocations: 4 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.1365, allocations: 11.98 kB / 487.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1365, allocations: 4.062 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.1366, allocations: 7.938 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1366, allocations: 0 / 487.5 MB, free: 15.5 MB / 366.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.0001177/0.1367, allocations: 142.3 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.1367, allocations: 7.938 kB / 487.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.1368, allocations: 7.969 kB / 487.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1368, allocations: 0 / 487.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1368, allocations: 4 kB / 487.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1368, allocations: 0 / 487.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.1372, allocations: 370.4 kB / 488 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1372, allocations: 0.5 kB / 488 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.1373, allocations: 11.94 kB / 488 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1373, allocations: 4 kB / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1373, allocations: 4 kB / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1373, allocations: 0 / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1373, allocations: 0 / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.1375, allocations: 171.5 kB / 488.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.1375, allocations: 84.95 kB / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1375, allocations: 0 / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.893e-05/0.1376, allocations: 7.984 kB / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.1376, allocations: 0 / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1376, allocations: 4 kB / 488.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.746e-05/0.1377, allocations: 87.27 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1377, allocations: 4 kB / 488.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.1379, allocations: 27.78 kB / 488.4 MB, free: 14.48 MB / 366.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 9.356e-05/0.138, allocations: 95.19 kB / 488.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.1382, allocations: 39.92 kB / 488.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1382, allocations: 0 / 488.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/0.1383, allocations: 19.98 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1385, allocations: 12 kB / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005898/0.1391, allocations: 338.8 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1395, allocations: 0.7316 MB / 489.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.494e-05/0.1395, allocations: 7.984 kB / 489.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.1395, allocations: 11.44 kB / 489.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1395, allocations: 0 / 489.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.002918/0.1425, allocations: 0.5897 MB / 490.2 MB, free: 12.6 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches