Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001401/0.001401, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001309/0.001309, allocations: 171.2 kB / 24.82 MB, free: 9.27 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.9559/0.9559, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2515/0.2515, allocations: 32.81 MB / 294.6 MB, free: 1.23 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.375e-05, allocations: 6.312 kB / 376.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003022/0.003046, allocations: 1.653 MB / 378.1 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.004575, allocations: 1.282 MB / 379.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.004633, allocations: 4 kB / 379.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.004795, allocations: 27.72 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.004997, allocations: 87.61 kB / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.005187, allocations: 111.5 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.005289, allocations: 79.81 kB / 379.7 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.679e-05/0.005366, allocations: 23.92 kB / 379.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.556e-05/0.005422, allocations: 39.89 kB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.683e-05/0.005499, allocations: 27.91 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.005512, allocations: 8 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.005621, allocations: 91.83 kB / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.155e-05/0.005653, allocations: 27.91 kB / 379.9 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.005673, allocations: 15.92 kB / 380 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.00583, allocations: 143.5 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005832, allocations: 0 / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.005834, allocations: 0 / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.005837, allocations: 0 / 380.1 MB, free: 0.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000309/0.006146, allocations: 439.9 kB / 380.5 MB, free: 292 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.006173, allocations: 8.031 kB / 380.5 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.006203, allocations: 20.84 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.006306, allocations: 140.5 kB / 380.7 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.006316, allocations: 8.359 kB / 380.7 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.006331, allocations: 12.31 kB / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.006441, allocations: 104 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.006449, allocations: 192 / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.006457, allocations: 8.125 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.006461, allocations: 0 / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.267e-05/0.006484, allocations: 11.98 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.006701, allocations: 276.2 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.662e-05/0.006747, allocations: 43.05 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.006764, allocations: 23.72 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.006783, allocations: 7.938 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.006803, allocations: 37.52 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.006804, allocations: 0 / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002581/0.007062, allocations: 121.4 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.007087, allocations: 77.11 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.007177, allocations: 195.9 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.007189, allocations: 33.7 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.007233, allocations: 142.8 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.007252, allocations: 27.73 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.007279, allocations: 31.36 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.007378, allocations: 0.4923 MB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.007392, allocations: 7.984 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.007423, allocations: 57.05 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.45e-05/0.007458, allocations: 32.23 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.007459, allocations: 3.938 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.212e-05/0.007531, allocations: 69.62 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.007539, allocations: 4 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.007545, allocations: 8 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.007554, allocations: 3.938 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.153e-05/0.007606, allocations: 20.02 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.007608, allocations: 0 / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.007628, allocations: 8 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.007632, allocations: 0 / 382.5 MB, free: 14.08 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 (8): * Single equations (assignments): 8 * 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.287e-05/0.007695, allocations: 168.4 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.007717, allocations: 19.89 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.007822, allocations: 78.39 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.007823, allocations: 0 / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.007825, allocations: 0 / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.007828, allocations: 4 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.008047, allocations: 333.9 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.008048, allocations: 0 / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.008082, allocations: 15.98 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.008084, allocations: 0 / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.008088, allocations: 4 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.008089, allocations: 0 / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.00809, allocations: 0 / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.772e-05/0.008188, allocations: 223.8 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.008197, allocations: 11.94 kB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.008207, allocations: 0 / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.008241, allocations: 4 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.00826, allocations: 11.98 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.008263, allocations: 4 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.765e-05/0.008311, allocations: 145.5 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008311, allocations: 0 / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001811/0.008492, allocations: 43.86 kB / 383.6 MB, free: 12.96 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 (8): * Single equations (assignments): 8 * 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.0008362/0.009328, allocations: 493.5 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.009457, allocations: 43.59 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.009458, allocations: 0 / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.473e-05/0.009482, allocations: 27.67 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.009661, allocations: 35.92 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.009897, allocations: 194.2 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.009929, allocations: 63.34 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.842e-05/0.009968, allocations: 20.66 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.01003, allocations: 86.19 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of SimCode: time 4e-07/0.01003, allocations: 0 / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of Templates: time 0.003085/0.01312, allocations: 2.144 MB / 386.7 MB, free: 10.01 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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: 2.917049481999129]