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.001281/0.001281, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001403/0.001403, allocations: 211.5 kB / 25.13 MB, free: 3.605 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.39/1.39, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.2187/0.2187, allocations: 46.93 MB / 362 MB, free: 4.219 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.002354/0.002354, allocations: 75.88 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.276, allocations: 66.09 MB / 0.5623 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002958/0.279, allocations: 1.573 MB / 0.5639 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002433/0.2792, allocations: 55.77 kB / 0.5639 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.2793, allocations: 3.938 kB / 0.5639 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.2794, allocations: 27.78 kB / 0.5639 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.225e-05/0.2794, allocations: 3.938 kB / 0.5639 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.2795, allocations: 27.97 kB / 0.564 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.2797, allocations: 71.83 kB / 0.564 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.2799, allocations: 87.59 kB / 0.5641 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.28, allocations: 39.91 kB / 0.5642 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.28, allocations: 39.84 kB / 0.5642 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.2801, allocations: 8 kB / 0.5642 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.935e-05/0.2801, allocations: 8 kB / 0.5642 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.2802, allocations: 75.8 kB / 0.5643 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.675e-05/0.2803, allocations: 63.61 kB / 0.5643 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.2804, allocations: 153.8 kB / 0.5645 GB, free: 2.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2804, allocations: 4 kB / 0.5645 GB, free: 2.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2804, allocations: 0 / 0.5645 GB, free: 2.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.2805, allocations: 0 / 0.5645 GB, free: 2.012 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.0005235/0.281, allocations: 366.1 kB / 0.5648 GB, free: 1.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.281, allocations: 12.03 kB / 0.5649 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.2811, allocations: 16.84 kB / 0.5649 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.2813, allocations: 166.2 kB / 0.565 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.2813, allocations: 12.75 kB / 0.565 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.2813, allocations: 20.38 kB / 0.5651 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.2817, allocations: 193.1 kB / 0.5653 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2817, allocations: 3.938 kB / 0.5653 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.2817, allocations: 12 kB / 0.5653 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2817, allocations: 4 kB / 0.5653 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.282, allocations: 127.3 kB / 0.5654 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.2826, allocations: 452.4 kB / 0.5658 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.459e-05/0.2827, allocations: 38.56 kB / 0.5659 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.2828, allocations: 28.91 kB / 0.5659 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.2828, allocations: 0 / 0.5659 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.2828, allocations: 34.56 kB / 0.5659 GB, free: 448 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.2828, allocations: 0 / 0.5659 GB, free: 448 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002412/0.2831, allocations: 89.5 kB / 0.566 GB, free: 352 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.2831, allocations: 51.41 kB / 0.5661 GB, free: 288 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.2832, allocations: 105.8 kB / 0.5662 GB, free: 172 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.2832, allocations: 29.7 kB / 0.5662 GB, free: 136 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.2833, allocations: 140.3 kB / 0.5663 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.2834, allocations: 15.86 kB / 0.5663 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.2834, allocations: 13.72 kB / 0.5663 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2835, allocations: 326.8 kB / 0.5667 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.167e-05/0.2836, allocations: 8 kB / 0.5667 GB, free: 15.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.2836, allocations: 15.92 kB / 0.5667 GB, free: 15.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.391e-05/0.2837, allocations: 41.16 kB / 0.5667 GB, free: 15.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2837, allocations: 0 / 0.5667 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001283/0.2838, allocations: 65.44 kB / 0.5668 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2838, allocations: 6.344 kB / 0.5668 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2838, allocations: 0 / 0.5668 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2839, allocations: 11.97 kB / 0.5668 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.2839, allocations: 8 kB / 0.5668 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.2839, allocations: 4 kB / 0.5668 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.284, allocations: 0 / 0.5668 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.284, allocations: 0 / 0.5668 GB, free: 15.46 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.0001136/0.2841, allocations: 146.6 kB / 0.567 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.2841, allocations: 7.891 kB / 0.567 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.2841, allocations: 12.06 kB / 0.567 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2841, allocations: 4 kB / 0.567 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2841, allocations: 0 / 0.567 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2841, allocations: 0 / 0.567 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.2845, allocations: 333.6 kB / 0.5673 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2845, allocations: 0 / 0.5673 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.2846, allocations: 15.94 kB / 0.5673 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2846, allocations: 3.984 kB / 0.5673 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.2846, allocations: 0 / 0.5673 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2846, allocations: 0 / 0.5673 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.2846, allocations: 0 / 0.5673 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.2848, allocations: 167.6 kB / 0.5675 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-06/0.2848, allocations: 3.984 kB / 0.5675 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2848, allocations: 8 kB / 0.5675 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.323e-05/0.2849, allocations: 3.938 kB / 0.5675 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.2849, allocations: 0 / 0.5675 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.2849, allocations: 4 kB / 0.5675 GB, free: 14.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.52e-05/0.2849, allocations: 91.27 kB / 0.5676 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2849, allocations: 0 / 0.5676 GB, free: 14.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.2852, allocations: 27.84 kB / 0.5676 GB, free: 14.57 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.0001005/0.2853, allocations: 103.1 kB / 0.5677 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.2854, allocations: 27.97 kB / 0.5677 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2854, allocations: 0 / 0.5677 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.2854, allocations: 12 kB / 0.5677 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.2857, allocations: 19.98 kB / 0.5678 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.2862, allocations: 267.3 kB / 0.568 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.2866, allocations: 0.7275 MB / 0.5687 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.024e-05/0.2866, allocations: 15.7 kB / 0.5687 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.2866, allocations: 7.438 kB / 0.5687 GB, free: 13.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2866, allocations: 0 / 0.5687 GB, free: 13.34 MB / 414.1 MB Notification: Performance of Templates: time 0.002968/0.2896, allocations: 0.6568 MB / 0.5694 GB, free: 12.69 MB / 414.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 -s gbode -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.6238629498984665]