Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001654/0.001654, allocations: 107.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002017, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2535/0.2535, allocations: 46.88 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5002,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.1.0-beta.om_ModelicaTest.Blocks.MuxDemux") translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0-beta.om_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 75.88 kB / 0.4923 GB, free: 8.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.141, allocations: 65.99 MB / 0.5568 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003129/0.1441, allocations: 1.577 MB / 0.5583 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002582/0.1444, allocations: 63.75 kB / 0.5584 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.1444, allocations: 4 kB / 0.5584 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.1446, allocations: 23.8 kB / 0.5584 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.498e-05/0.1446, allocations: 3.938 kB / 0.5584 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.1448, allocations: 19.97 kB / 0.5584 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.1449, allocations: 75.8 kB / 0.5585 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.1452, allocations: 107.4 kB / 0.5586 GB, free: 4.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.991e-05/0.1452, allocations: 35.91 kB / 0.5587 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.1453, allocations: 47.83 kB / 0.5587 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.1453, allocations: 8 kB / 0.5587 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.928e-05/0.1454, allocations: 8 kB / 0.5587 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.1455, allocations: 67.81 kB / 0.5588 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.1455, allocations: 67.61 kB / 0.5588 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1458, allocations: 151.3 kB / 0.559 GB, free: 3.676 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1458, allocations: 0 / 0.559 GB, free: 3.676 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1458, allocations: 0 / 0.559 GB, free: 3.676 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1458, allocations: 3.984 kB / 0.559 GB, free: 3.672 MB / 414.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.0006103/0.1464, allocations: 443.2 kB / 0.5594 GB, free: 3.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1464, allocations: 8.031 kB / 0.5594 GB, free: 3.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.1465, allocations: 16.84 kB / 0.5594 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1467, allocations: 224 kB / 0.5596 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.1468, allocations: 16.75 kB / 0.5597 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.1468, allocations: 16.38 kB / 0.5597 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.1472, allocations: 201.6 kB / 0.5599 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1472, allocations: 3.938 kB / 0.5599 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.1472, allocations: 8 kB / 0.5599 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1472, allocations: 8 kB / 0.5599 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.1474, allocations: 123.3 kB / 0.56 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006709/0.1481, allocations: 0.4899 MB / 0.5605 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1482, allocations: 34.56 kB / 0.5605 GB, free: 1.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.1483, allocations: 28.91 kB / 0.5605 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1483, allocations: 4 kB / 0.5606 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1483, allocations: 34.56 kB / 0.5606 GB, free: 1.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1483, allocations: 3.938 kB / 0.5606 GB, free: 1.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000264/0.1486, allocations: 81.56 kB / 0.5607 GB, free: 1.789 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1486, allocations: 51.41 kB / 0.5607 GB, free: 1.727 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.1487, allocations: 109.8 kB / 0.5608 GB, free: 1.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1487, allocations: 25.7 kB / 0.5608 GB, free: 1.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/0.1488, allocations: 136.1 kB / 0.561 GB, free: 1.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1489, allocations: 27.84 kB / 0.561 GB, free: 1.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.1489, allocations: 17.66 kB / 0.561 GB, free: 1.387 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.149, allocations: 314.8 kB / 0.5613 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.1491, allocations: 11.98 kB / 0.5613 GB, free: 1.059 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.1491, allocations: 15.98 kB / 0.5613 GB, free: 1.043 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.638e-05/0.1492, allocations: 36.78 kB / 0.5614 GB, free: 1.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1492, allocations: 384 / 0.5614 GB, free: 1.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000127/0.1493, allocations: 65.62 kB / 0.5614 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1493, allocations: 4 kB / 0.5614 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1493, allocations: 4 kB / 0.5615 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1494, allocations: 0 / 0.5615 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.1494, allocations: 15.98 kB / 0.5615 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1495, allocations: 0 / 0.5615 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.1495, allocations: 0 / 0.5615 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1495, allocations: 4 kB / 0.5615 GB, free: 0.9062 MB / 414.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.0001158/0.1496, allocations: 137.8 kB / 0.5616 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.1496, allocations: 15.89 kB / 0.5616 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.1497, allocations: 3.969 kB / 0.5616 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1497, allocations: 0 / 0.5616 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1497, allocations: 0 / 0.5616 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1497, allocations: 0 / 0.5616 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.1501, allocations: 374.4 kB / 0.562 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1501, allocations: 0 / 0.562 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.1501, allocations: 11.94 kB / 0.562 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1501, allocations: 0 / 0.562 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.1501, allocations: 4 kB / 0.562 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1501, allocations: 0 / 0.562 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1501, allocations: 0 / 0.562 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1503, allocations: 163.4 kB / 0.5621 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.1504, allocations: 81.11 kB / 0.5622 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1504, allocations: 4 kB / 0.5622 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.365e-05/0.1504, allocations: 7.922 kB / 0.5622 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.1504, allocations: 8 kB / 0.5622 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1505, allocations: 192 / 0.5622 GB, free: 12 kB / 414.1 MB Notification: Performance of sorting global known variables: time 7.473e-05/0.1505, allocations: 91.27 kB / 0.5623 GB, free: 15.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1505, allocations: 0 / 0.5623 GB, free: 15.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.1507, allocations: 23.84 kB / 0.5624 GB, free: 15.9 MB / 430.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.0001229/0.1509, allocations: 95.19 kB / 0.5624 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001619/0.151, allocations: 39.92 kB / 0.5625 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.151, allocations: 0 / 0.5625 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.222e-05/0.1511, allocations: 19.98 kB / 0.5625 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.1514, allocations: 8 kB / 0.5625 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.152, allocations: 308.8 kB / 0.5628 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.1524, allocations: 0.7236 MB / 0.5635 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.1524, allocations: 15.42 kB / 0.5635 GB, free: 14.63 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1524, allocations: 0 / 0.5635 GB, free: 14.63 MB / 430.1 MB Notification: Performance of Templates: time 0.003199/0.1556, allocations: 1.232 MB / 0.5647 GB, free: 13.4 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.949659186881036]