Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001021/0.001021, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.002376/0.002376, allocations: 165.4 kB / 24.99 MB, free: 8.797 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9694/0.9694, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2504/0.2504, allocations: 32.8 MB / 294.6 MB, free: 1.305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.686e-06/2.686e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.819e-05, allocations: 9.766 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002334/0.002362, allocations: 1.638 MB / 377.6 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007625/0.003125, allocations: 0.5297 MB / 378.2 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.079e-05/0.003195, allocations: 4 kB / 378.2 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.003449, allocations: 23.8 kB / 378.2 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.003793, allocations: 83.55 kB / 378.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.004046, allocations: 87.69 kB / 378.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.004186, allocations: 75.7 kB / 378.4 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.004285, allocations: 8 kB / 378.5 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.793e-05/0.004343, allocations: 23.92 kB / 378.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.426e-05/0.004397, allocations: 23.91 kB / 378.5 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.004412, allocations: 4 kB / 378.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.074e-05/0.004483, allocations: 35.92 kB / 378.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.004529, allocations: 15.92 kB / 378.6 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.004557, allocations: 11.98 kB / 378.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.004697, allocations: 67.69 kB / 378.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.004699, allocations: 0 / 378.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0047, allocations: 0 / 378.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.686e-06/0.004704, allocations: 7.938 kB / 378.6 MB, free: 2.344 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003818/0.005086, allocations: 412.2 kB / 379 MB, free: 1.906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.005126, allocations: 8.031 kB / 379.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.005178, allocations: 12.89 kB / 379.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.005339, allocations: 142.8 kB / 379.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.00535, allocations: 4.375 kB / 379.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.005368, allocations: 384 / 379.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.005478, allocations: 58.89 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.005487, allocations: 192 / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.005497, allocations: 8.109 kB / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.005505, allocations: 0 / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.008e-05/0.005535, allocations: 8 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.0058, allocations: 267.8 kB / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.005954, allocations: 46.98 kB / 379.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.005975, allocations: 15.69 kB / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.005994, allocations: 3.938 kB / 379.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.006013, allocations: 37.39 kB / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.006014, allocations: 0 / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003107/0.006325, allocations: 109.7 kB / 379.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.006352, allocations: 51.41 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.006462, allocations: 204.9 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.006471, allocations: 25.7 kB / 380 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.006526, allocations: 146.9 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.006544, allocations: 7.906 kB / 380.2 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.006578, allocations: 35.36 kB / 380.2 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.006704, allocations: 0.4922 MB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.006724, allocations: 7.984 kB / 380.7 MB, free: 80 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.474e-05/0.006739, allocations: 8 kB / 380.7 MB, free: 72 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.747e-05/0.006776, allocations: 31.81 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.006777, allocations: 0 / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.495e-05/0.006862, allocations: 61.59 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.006875, allocations: 4 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.00688, allocations: 0 / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.006894, allocations: 3.984 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.419e-05/0.006938, allocations: 15.98 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.006944, allocations: 4 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.006961, allocations: 4 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.006966, allocations: 4 kB / 380.8 MB, free: 15.93 MB / 362.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 6.471e-05/0.007031, allocations: 160.5 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.00705, allocations: 7.953 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.007159, allocations: 70.14 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007161, allocations: 0 / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.007165, allocations: 0 / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.007168, allocations: 0 / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.007383, allocations: 329.3 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007384, allocations: 4 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.007411, allocations: 8 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.007415, allocations: 4 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.007423, allocations: 3.984 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007424, allocations: 0 / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007425, allocations: 0 / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.577e-05/0.007521, allocations: 212 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.007529, allocations: 7.953 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.00754, allocations: 0 / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/0.007591, allocations: 4 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.007621, allocations: 15.92 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.007625, allocations: 4 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.79e-05/0.007683, allocations: 151.1 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007683, allocations: 0 / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.007841, allocations: 15.98 kB / 381.8 MB, free: 14.88 MB / 362.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 0.0007736/0.008615, allocations: 382.5 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.004e-05/0.008705, allocations: 23.69 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.008707, allocations: 0 / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.008733, allocations: 31.61 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.008941, allocations: 18.95 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.009245, allocations: 178.5 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.547e-05/0.00928, allocations: 67.34 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.009307, allocations: 11.97 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.009332, allocations: 16.5 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of SimCode: time 7.62e-07/0.009333, allocations: 0 / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of Templates: time 0.002666/0.012, allocations: 1.153 MB / 383.7 MB, free: 13.09 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.4398703870829195]