Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008701/0.0008701, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008031/0.0008031, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8415/0.8415, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1267/0.1267, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 408.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.324e-05, allocations: 9.875 kB / 408.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002188/0.002212, allocations: 1.522 MB / 409.6 MB, free: 220 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001153/0.002327, allocations: 51.83 kB / 409.7 MB, free: 168 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.002389, allocations: 3.938 kB / 409.7 MB, free: 164 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.002531, allocations: 19.8 kB / 409.7 MB, free: 144 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.946e-05/0.002551, allocations: 7.922 kB / 409.7 MB, free: 136 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.002668, allocations: 27.97 kB / 409.7 MB, free: 108 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.896e-05/0.002767, allocations: 67.81 kB / 409.8 MB, free: 40 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.002997, allocations: 87.55 kB / 409.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.003062, allocations: 55.88 kB / 409.9 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.583e-05/0.003117, allocations: 27.91 kB / 410 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.003147, allocations: 8 kB / 410 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.003161, allocations: 12 kB / 410 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.997e-05/0.003231, allocations: 75.78 kB / 410.1 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.003279, allocations: 35.92 kB / 410.1 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.003442, allocations: 151.4 kB / 410.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.003445, allocations: 0 / 410.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003446, allocations: 0 / 410.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.003451, allocations: 0 / 410.2 MB, free: 15.59 MB / 394.7 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.0004573/0.003909, allocations: 366.1 kB / 410.6 MB, free: 15.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.003954, allocations: 8.031 kB / 410.6 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.003996, allocations: 20.84 kB / 410.6 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.004188, allocations: 153.5 kB / 410.8 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.004209, allocations: 20.75 kB / 410.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.00423, allocations: 16.38 kB / 410.8 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.004522, allocations: 192.9 kB / 411 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.004534, allocations: 192 / 411 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.00455, allocations: 4.375 kB / 411 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.004558, allocations: 16 kB / 411 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.004709, allocations: 127.3 kB / 411.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.005132, allocations: 393 kB / 411.5 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.339e-05/0.005196, allocations: 42.5 kB / 411.6 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.005234, allocations: 32.97 kB / 411.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.005243, allocations: 0 / 411.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.005261, allocations: 34.56 kB / 411.6 MB, free: 14.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.005262, allocations: 0 / 411.6 MB, free: 14.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001687/0.005431, allocations: 77.56 kB / 411.7 MB, free: 14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.005468, allocations: 59.34 kB / 411.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.005531, allocations: 109.8 kB / 411.9 MB, free: 13.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.005541, allocations: 33.64 kB / 411.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.005603, allocations: 136.2 kB / 412 MB, free: 13.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.005623, allocations: 11.86 kB / 412.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.005649, allocations: 21.7 kB / 412.1 MB, free: 13.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.005726, allocations: 318.8 kB / 412.4 MB, free: 13.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.383e-05/0.005749, allocations: 11.98 kB / 412.4 MB, free: 13.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.733e-05/0.005767, allocations: 8 kB / 412.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.005812, allocations: 28.84 kB / 412.4 MB, free: 13.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.005815, allocations: 4 kB / 412.4 MB, free: 13.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.005e-05/0.005885, allocations: 69.61 kB / 412.5 MB, free: 13.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.005898, allocations: 4 kB / 412.5 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.005902, allocations: 0 / 412.5 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.005916, allocations: 3.938 kB / 412.5 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.005979, allocations: 8 kB / 412.5 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.005986, allocations: 4 kB / 412.5 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.232e-05/0.005998, allocations: 0 / 412.5 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.006006, allocations: 4 kB / 412.5 MB, free: 13.12 MB / 394.7 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 8.333e-05/0.006089, allocations: 137.8 kB / 412.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.006102, allocations: 3.953 kB / 412.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.974e-05/0.006122, allocations: 12.12 kB / 412.7 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.006125, allocations: 3.938 kB / 412.7 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.00613, allocations: 0 / 412.7 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.006135, allocations: 3.984 kB / 412.7 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.006351, allocations: 286.7 kB / 413 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.006353, allocations: 4 kB / 413 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.006377, allocations: 11.98 kB / 413 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.006381, allocations: 3.938 kB / 413 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.006386, allocations: 4 kB / 413 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.006387, allocations: 0 / 413 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006388, allocations: 0 / 413 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.006489, allocations: 167.4 kB / 413.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.006497, allocations: 11.88 kB / 413.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.006513, allocations: 7.938 kB / 413.2 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.006539, allocations: 4 kB / 413.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.006566, allocations: 3.984 kB / 413.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.006568, allocations: 0 / 413.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.256e-05/0.006601, allocations: 95.52 kB / 413.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006601, allocations: 4 kB / 413.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001402/0.006741, allocations: 23.84 kB / 413.3 MB, free: 12.29 MB / 394.7 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 7.303e-05/0.006814, allocations: 91.25 kB / 413.4 MB, free: 12.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.23e-05/0.006907, allocations: 35.97 kB / 413.4 MB, free: 12.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.006908, allocations: 3.938 kB / 413.4 MB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/0.00693, allocations: 12 kB / 413.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.007119, allocations: 11.98 kB / 413.5 MB, free: 12.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.007536, allocations: 304.3 kB / 413.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.842e-05/0.007614, allocations: 114.6 kB / 413.9 MB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.00764, allocations: 12.5 kB / 413.9 MB, free: 11.66 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.00764, allocations: 0 / 413.9 MB, free: 11.66 MB / 394.7 MB Notification: Performance of Templates: time 0.001953/0.009594, allocations: 1.292 MB / 415.2 MB, free: 10.37 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.306671393103898]