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.001109/0.001109, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001798/0.001798, allocations: 165 kB / 23.79 MB, free: 0.7773 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.976/0.976, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1295/0.1295, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.564e-05, allocations: 6.25 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.001618/0.001634, allocations: 1.579 MB / 349.2 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001266/0.00176, allocations: 43.84 kB / 349.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.001812, allocations: 3.938 kB / 349.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.001947, allocations: 27.78 kB / 349.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.924e-05/0.001967, allocations: 0 / 349.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.00207, allocations: 31.95 kB / 349.3 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.128e-05/0.002151, allocations: 67.81 kB / 349.4 MB, free: 7.703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.002329, allocations: 83.56 kB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.002377, allocations: 55.88 kB / 349.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.002419, allocations: 31.89 kB / 349.6 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.00244, allocations: 8 kB / 349.6 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.00245, allocations: 8 kB / 349.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.002506, allocations: 67.81 kB / 349.7 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.002554, allocations: 39.91 kB / 349.7 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.00267, allocations: 123.5 kB / 349.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002672, allocations: 0 / 349.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.002673, allocations: 0 / 349.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.002678, allocations: 0 / 349.8 MB, free: 7.289 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.0003176/0.002995, allocations: 460.5 kB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.003031, allocations: 12.02 kB / 350.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.003074, allocations: 40.8 kB / 350.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.003196, allocations: 144.4 kB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.003208, allocations: 16.75 kB / 350.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.003226, allocations: 16.38 kB / 350.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.003401, allocations: 145.6 kB / 350.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.003411, allocations: 192 / 350.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.003423, allocations: 4.375 kB / 350.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.003433, allocations: 12.12 kB / 350.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.003504, allocations: 51.28 kB / 350.7 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.00387, allocations: 452.2 kB / 351.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.653e-05/0.003927, allocations: 46.98 kB / 351.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.003956, allocations: 27.8 kB / 351.2 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.003965, allocations: 3.984 kB / 351.2 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.003981, allocations: 37.39 kB / 351.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.003983, allocations: 0 / 351.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001576/0.00414, allocations: 65.58 kB / 351.3 MB, free: 5.648 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.004162, allocations: 55.34 kB / 351.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.252e-05/0.004214, allocations: 165.9 kB / 351.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-06/0.004219, allocations: 25.7 kB / 351.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.00426, allocations: 194.8 kB / 351.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.004279, allocations: 15.91 kB / 351.8 MB, free: 5.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.004301, allocations: 19.38 kB / 351.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.004352, allocations: 0.4923 MB / 352.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.004364, allocations: 4 kB / 352.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.004373, allocations: 4 kB / 352.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.782e-05/0.004401, allocations: 32.05 kB / 352.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.004402, allocations: 0 / 352.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.181e-05/0.004454, allocations: 57.59 kB / 352.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.004466, allocations: 4 kB / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.00447, allocations: 0 / 352.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.004488, allocations: 3.938 kB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.004561, allocations: 11.98 kB / 352.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.004567, allocations: 4 kB / 352.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.345e-05/0.00458, allocations: 4 kB / 352.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.004585, allocations: 0 / 352.4 MB, free: 4.496 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 4.882e-05/0.004634, allocations: 164.5 kB / 352.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.004648, allocations: 3.953 kB / 352.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.004672, allocations: 12.12 kB / 352.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.004674, allocations: 3.938 kB / 352.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.004679, allocations: 0 / 352.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.004682, allocations: 3.984 kB / 352.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.004847, allocations: 337.4 kB / 352.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004848, allocations: 4 kB / 352.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.00487, allocations: 8 kB / 352.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.004872, allocations: 3.938 kB / 352.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.00488, allocations: 4 kB / 352.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.004881, allocations: 0 / 352.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.004882, allocations: 0 / 352.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.882e-05/0.004951, allocations: 199.9 kB / 353.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.004958, allocations: 7.953 kB / 353.1 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.004967, allocations: 3.938 kB / 353.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.545e-05/0.004992, allocations: 4.188 kB / 353.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.005023, allocations: 3.984 kB / 353.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-06/0.005026, allocations: 8 kB / 353.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.019e-05/0.005046, allocations: 135.5 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005046, allocations: 3.938 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001436/0.00519, allocations: 23.84 kB / 353.3 MB, free: 3.512 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 4.86e-05/0.005238, allocations: 91.25 kB / 353.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.638e-05/0.005315, allocations: 31.61 kB / 353.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.005316, allocations: 0 / 353.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.484e-05/0.00533, allocations: 15.69 kB / 353.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.005521, allocations: 23.97 kB / 353.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.005875, allocations: 283.2 kB / 353.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.00591, allocations: 79.31 kB / 353.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.774e-05/0.005928, allocations: 4 kB / 353.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.00595, allocations: 12.5 kB / 353.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.005951, allocations: 0 / 353.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of Templates: time 0.002113/0.008064, allocations: 0.7082 MB / 354.6 MB, free: 2.223 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.188167020212859]