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.001865/0.001865, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.002216/0.002216, allocations: 157.3 kB / 23.51 MB, free: 0.8945 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 1.532/1.532, allocations: 158.6 MB / 185.3 MB, free: 2.875 MB / 170.7 MB " [Timeout remaining time 178] 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.2455/0.2455, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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 2.194e-06/2.194e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.297e-05, allocations: 2.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002492/0.002525, allocations: 1.542 MB / 348.5 MB, free: 8.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001476/0.002672, allocations: 43.84 kB / 348.5 MB, free: 8.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.002743, allocations: 11.94 kB / 348.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.002921, allocations: 15.84 kB / 348.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.52e-05/0.002946, allocations: 11.88 kB / 348.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.003065, allocations: 23.97 kB / 348.6 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.003175, allocations: 67.81 kB / 348.6 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.003401, allocations: 87.55 kB / 348.7 MB, free: 8.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.542e-05/0.003466, allocations: 51.89 kB / 348.8 MB, free: 7.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.003525, allocations: 35.94 kB / 348.8 MB, free: 7.922 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.003555, allocations: 8 kB / 348.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.003569, allocations: 8 kB / 348.8 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.003648, allocations: 63.81 kB / 348.9 MB, free: 7.844 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.003711, allocations: 47.84 kB / 348.9 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.003882, allocations: 151.4 kB / 349.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.003885, allocations: 0 / 349.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003885, allocations: 0 / 349.1 MB, free: 7.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.00389, allocations: 4 kB / 349.1 MB, free: 7.645 MB / 282.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.0004946/0.004385, allocations: 358.2 kB / 349.4 MB, free: 7.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.004428, allocations: 8.031 kB / 349.4 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.004495, allocations: 40.73 kB / 349.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.004666, allocations: 153.6 kB / 349.6 MB, free: 7.043 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.004684, allocations: 8.75 kB / 349.6 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.004718, allocations: 28.38 kB / 349.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.005011, allocations: 200.8 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.005022, allocations: 192 / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.005041, allocations: 4.375 kB / 349.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.005049, allocations: 8.125 kB / 349.9 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.005225, allocations: 127.3 kB / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.005693, allocations: 393 kB / 350.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.877e-05/0.005782, allocations: 42.56 kB / 350.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.005839, allocations: 24.97 kB / 350.4 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.005855, allocations: 3.984 kB / 350.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.005873, allocations: 34.56 kB / 350.5 MB, free: 6.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.005874, allocations: 0 / 350.5 MB, free: 6.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002384/0.006112, allocations: 81.55 kB / 350.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.006139, allocations: 51.41 kB / 350.6 MB, free: 5.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.006209, allocations: 109.8 kB / 350.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.006217, allocations: 29.7 kB / 350.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.006266, allocations: 140.1 kB / 350.9 MB, free: 5.688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.006289, allocations: 19.89 kB / 350.9 MB, free: 5.668 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.006316, allocations: 13.72 kB / 350.9 MB, free: 5.648 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.006375, allocations: 314.8 kB / 351.2 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.809e-05/0.006413, allocations: 11.98 kB / 351.2 MB, free: 5.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.975e-05/0.006443, allocations: 20.23 kB / 351.3 MB, free: 5.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.707e-05/0.00651, allocations: 32.84 kB / 351.3 MB, free: 5.266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.006511, allocations: 0 / 351.3 MB, free: 5.266 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001099/0.006621, allocations: 73.52 kB / 351.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.006635, allocations: 8 kB / 351.4 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.00664, allocations: 0 / 351.4 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.006661, allocations: 3.938 kB / 351.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/0.00674, allocations: 11.98 kB / 351.4 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.006746, allocations: 0 / 351.4 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.00677, allocations: 4 kB / 351.4 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.006777, allocations: 0 / 351.4 MB, free: 5.16 MB / 282.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 7.775e-05/0.006855, allocations: 129.8 kB / 351.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.006878, allocations: 15.94 kB / 351.5 MB, free: 5.008 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.0069, allocations: 8.125 kB / 351.5 MB, free: 5.004 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.006902, allocations: 7.938 kB / 351.5 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.006907, allocations: 0 / 351.5 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006909, allocations: 0 / 351.5 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.007152, allocations: 286.2 kB / 351.8 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007154, allocations: 4 kB / 351.8 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.00719, allocations: 12 kB / 351.8 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.007192, allocations: 3.938 kB / 351.8 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.0072, allocations: 0 / 351.8 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.007203, allocations: 8.188 kB / 351.9 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007204, allocations: 0 / 351.9 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.007339, allocations: 159.5 kB / 352 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.007349, allocations: 11.89 kB / 352 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.007364, allocations: 3.938 kB / 352 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.329e-05/0.007417, allocations: 11.98 kB / 352 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.007457, allocations: 0 / 352 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.007459, allocations: 0 / 352 MB, free: 4.453 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.809e-05/0.007497, allocations: 91.58 kB / 352.1 MB, free: 4.363 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007497, allocations: 0 / 352.1 MB, free: 4.363 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00022/0.007717, allocations: 27.84 kB / 352.2 MB, free: 4.336 MB / 282.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.814e-05/0.007795, allocations: 91.25 kB / 352.2 MB, free: 4.238 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.007923, allocations: 31.92 kB / 352.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.007925, allocations: 0 / 352.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.007963, allocations: 19.98 kB / 352.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.008292, allocations: 12.22 kB / 352.3 MB, free: 4.176 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.008788, allocations: 285.5 kB / 352.6 MB, free: 3.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.2e-05/0.00888, allocations: 118.2 kB / 352.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.288e-05/0.008913, allocations: 7.984 kB / 352.7 MB, free: 3.719 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.00894, allocations: 12.5 kB / 352.7 MB, free: 3.707 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008941, allocations: 0 / 352.7 MB, free: 3.707 MB / 282.7 MB Notification: Performance of Templates: time 0.003602/0.01254, allocations: 0.7085 MB / 353.4 MB, free: 3.016 MB / 282.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: 5.058534438954666]