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.001366/0.001366, allocations: 110.5 kB / 21.17 MB, free: 0.7617 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.001565/0.001565, allocations: 212.1 kB / 24.46 MB, free: 4.195 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.502/1.502, allocations: 230.2 MB / 257.8 MB, free: 8.48 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.2352/0.2352, allocations: 46.88 MB / 361.1 MB, free: 4.613 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.002464/0.002464, allocations: 79.88 kB / 0.4967 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.5011, allocations: 65.99 MB / 0.5612 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003544/0.5047, allocations: 1.57 MB / 0.5627 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.505, allocations: 63.75 kB / 0.5628 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.5051, allocations: 0 / 0.5628 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.5053, allocations: 15.86 kB / 0.5628 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.197e-05/0.5053, allocations: 7.922 kB / 0.5628 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.5055, allocations: 23.92 kB / 0.5628 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.5057, allocations: 79.8 kB / 0.5629 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003128/0.506, allocations: 91.39 kB / 0.563 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.689e-05/0.5061, allocations: 35.92 kB / 0.563 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.5062, allocations: 39.83 kB / 0.5631 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.856e-05/0.5062, allocations: 12 kB / 0.5631 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.173e-05/0.5062, allocations: 8 kB / 0.5631 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.5063, allocations: 71.75 kB / 0.5632 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.463e-05/0.5064, allocations: 63.61 kB / 0.5632 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.5067, allocations: 153.9 kB / 0.5634 GB, free: 2.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.5067, allocations: 0 / 0.5634 GB, free: 2.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5067, allocations: 0 / 0.5634 GB, free: 2.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.5067, allocations: 4 kB / 0.5634 GB, free: 2.746 MB / 398.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.0006621/0.5074, allocations: 443.2 kB / 0.5638 GB, free: 2.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.5074, allocations: 12.03 kB / 0.5638 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.5075, allocations: 16.84 kB / 0.5638 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.5078, allocations: 216.1 kB / 0.564 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.5078, allocations: 12.75 kB / 0.564 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.5078, allocations: 20.38 kB / 0.5641 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.5082, allocations: 201.6 kB / 0.5642 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.5082, allocations: 11.92 kB / 0.5643 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.5082, allocations: 8 kB / 0.5643 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.5083, allocations: 4 kB / 0.5643 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.5085, allocations: 127.3 kB / 0.5644 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007558/0.5093, allocations: 491.9 kB / 0.5649 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.5094, allocations: 42.56 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.226e-05/0.5094, allocations: 32.91 kB / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.5095, allocations: 0 / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.5095, allocations: 34.56 kB / 0.565 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.5095, allocations: 7.938 kB / 0.565 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002772/0.5098, allocations: 77.56 kB / 0.565 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.5098, allocations: 59.39 kB / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.5099, allocations: 101.9 kB / 0.5652 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.5099, allocations: 29.69 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.51, allocations: 140.1 kB / 0.5654 GB, free: 0.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.5101, allocations: 15.86 kB / 0.5654 GB, free: 496 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.5101, allocations: 17.72 kB / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5102, allocations: 318.8 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.5103, allocations: 8 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-05/0.5103, allocations: 15.98 kB / 0.5657 GB, free: 120 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.552e-05/0.5104, allocations: 32.84 kB / 0.5658 GB, free: 84 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5104, allocations: 0 / 0.5658 GB, free: 84 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001347/0.5105, allocations: 69.56 kB / 0.5658 GB, free: 8 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5105, allocations: 4 kB / 0.5658 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5106, allocations: 3.984 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5106, allocations: 0 / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.5107, allocations: 8.047 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.5107, allocations: 4 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.5107, allocations: 4 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.5107, allocations: 3.938 kB / 0.5658 GB, free: 15.98 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.0001194/0.5108, allocations: 137.8 kB / 0.566 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.5109, allocations: 7.891 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.5109, allocations: 7.969 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5109, allocations: 4 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.5109, allocations: 0 / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5109, allocations: 3.984 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.5113, allocations: 370.9 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5113, allocations: 4 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.781e-05/0.5114, allocations: 11.98 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.5114, allocations: 4 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.5114, allocations: 0 / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5114, allocations: 0 / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5114, allocations: 0 / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.5116, allocations: 175.4 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.5116, allocations: 77.11 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.5116, allocations: 3.938 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.5117, allocations: 4 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.5117, allocations: 0 / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.5117, allocations: 4 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.054e-05/0.5118, allocations: 87.58 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5118, allocations: 0 / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.512, allocations: 27.84 kB / 0.5667 GB, free: 14.97 MB / 414.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.000109/0.5121, allocations: 99.25 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.5123, allocations: 35.84 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5123, allocations: 0 / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.089e-05/0.5123, allocations: 16 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.5127, allocations: 19.16 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.5133, allocations: 271.3 kB / 0.5672 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.5137, allocations: 0.7239 MB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.231e-05/0.5137, allocations: 11.77 kB / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.5137, allocations: 11.44 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5137, allocations: 0 / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of Templates: time 0.003651/0.5174, allocations: 0.6491 MB / 0.5685 GB, free: 13.09 MB / 414.1 MB " [Timeout remaining time 659] 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 -s cvode -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: 5.358320593368262]