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.001497/0.001497, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001656, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 84.7 kB / 417.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1274, allocations: 62.46 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003137/0.1306, allocations: 1.557 MB / 481.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002317/0.1308, allocations: 63.75 kB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.1309, allocations: 0 / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.131, allocations: 19.8 kB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.303e-05/0.1311, allocations: 7.938 kB / 481.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.1312, allocations: 23.97 kB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1314, allocations: 67.83 kB / 481.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.1316, allocations: 131.4 kB / 481.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.063e-05/0.1317, allocations: 35.86 kB / 482 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.1318, allocations: 39.84 kB / 482 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.1318, allocations: 8 kB / 482 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.1318, allocations: 8 kB / 482 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.238e-05/0.1319, allocations: 67.81 kB / 482.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.88e-05/0.132, allocations: 71.59 kB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1321, allocations: 139.6 kB / 482.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1321, allocations: 0 / 482.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1321, allocations: 0 / 482.3 MB, free: 2.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.1322, allocations: 4 kB / 482.3 MB, free: 2.953 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.0004939/0.1327, allocations: 443.6 kB / 482.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1327, allocations: 12.03 kB / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.1328, allocations: 16.75 kB / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.133, allocations: 208.1 kB / 483 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.133, allocations: 20.75 kB / 483 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.133, allocations: 20.38 kB / 483 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.1334, allocations: 193.1 kB / 483.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1334, allocations: 3.938 kB / 483.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.1334, allocations: 8 kB / 483.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.1334, allocations: 4 kB / 483.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.1337, allocations: 127.3 kB / 483.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006219/0.1343, allocations: 499.8 kB / 483.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.06e-05/0.1344, allocations: 46.5 kB / 483.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/0.1345, allocations: 36.84 kB / 483.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.1345, allocations: 3.938 kB / 483.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1345, allocations: 34.56 kB / 484 MB, free: 1.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1345, allocations: 0 / 484 MB, free: 1.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000241/0.1348, allocations: 73.67 kB / 484 MB, free: 1.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.1348, allocations: 51.41 kB / 484.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.509e-05/0.1349, allocations: 109.8 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1349, allocations: 25.7 kB / 484.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.135, allocations: 135.9 kB / 484.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.1351, allocations: 31.72 kB / 484.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.1351, allocations: 13.72 kB / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1352, allocations: 314.8 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/0.1353, allocations: 11.98 kB / 484.7 MB, free: 356 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.606e-05/0.1353, allocations: 19.92 kB / 484.7 MB, free: 336 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/0.1354, allocations: 32.84 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1354, allocations: 0 / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001097/0.1355, allocations: 65.53 kB / 484.8 MB, free: 228 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1356, allocations: 4 kB / 484.8 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1356, allocations: 4 kB / 484.8 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1356, allocations: 0 / 484.8 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.672e-05/0.1357, allocations: 16.42 kB / 484.8 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.1357, allocations: 0 / 484.8 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.1357, allocations: 3.938 kB / 484.8 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1357, allocations: 8 kB / 484.9 MB, free: 192 kB / 350.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 9.891e-05/0.1358, allocations: 137.8 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.1359, allocations: 11.84 kB / 485 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.1359, allocations: 3.969 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1359, allocations: 0 / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1359, allocations: 0 / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1359, allocations: 0 / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.1363, allocations: 370.4 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1363, allocations: 0 / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.1364, allocations: 12 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1364, allocations: 3.938 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1364, allocations: 0 / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1364, allocations: 0 / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1364, allocations: 3.984 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.1365, allocations: 155.5 kB / 485.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.1366, allocations: 85.02 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1366, allocations: 7.984 kB / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.1367, allocations: 7.984 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.1367, allocations: 4 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1367, allocations: 3.938 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.209e-05/0.1368, allocations: 95.2 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1368, allocations: 0 / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.137, allocations: 27.69 kB / 485.8 MB, free: 15.18 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 0.0001092/0.1371, allocations: 91.25 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.1373, allocations: 39.92 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1373, allocations: 0 / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.572e-05/0.1373, allocations: 19.92 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1377, allocations: 20.36 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.1382, allocations: 263.4 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.1385, allocations: 0.7314 MB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.943e-05/0.1385, allocations: 4 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.1386, allocations: 11.44 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1386, allocations: 4 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of Templates: time 0.002887/0.1415, allocations: 0.613 MB / 487.6 MB, free: 13.33 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