Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001375/0.001375, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001465/0.001465, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9367/0.9367, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2636/0.2636, allocations: 34.25 MB / 295.7 MB, free: 0.7852 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 4 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.425e-05, allocations: 9.906 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002701/0.002725, allocations: 1.653 MB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007921/0.003517, allocations: 0.5492 MB / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.003572, allocations: 0 / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.003821, allocations: 71.66 kB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.004052, allocations: 107.5 kB / 380.4 MB, free: 248 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.004262, allocations: 111.7 kB / 380.6 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.004404, allocations: 87.73 kB / 380.6 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.00449, allocations: 12 kB / 380.7 MB, free: 36 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.004565, allocations: 39.97 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.39e-05/0.004649, allocations: 51.8 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.004661, allocations: 0 / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.892e-05/0.00474, allocations: 47.92 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.004785, allocations: 19.92 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.004815, allocations: 19.86 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.004957, allocations: 91.61 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.004959, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.00496, allocations: 4 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004964, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003715/0.005335, allocations: 435.9 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.005368, allocations: 12.03 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.005403, allocations: 12.88 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.005529, allocations: 144.4 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.005537, allocations: 384 / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.005565, allocations: 8.375 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.00567, allocations: 66.81 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.005678, allocations: 4.188 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.005687, allocations: 4.125 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.005693, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.916e-05/0.005722, allocations: 8 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.006003, allocations: 291.8 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.904e-05/0.006062, allocations: 50.97 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.006083, allocations: 15.62 kB / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.0061, allocations: 0 / 382 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.006121, allocations: 41.47 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.006122, allocations: 4 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004658/0.006588, allocations: 169.3 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.006613, allocations: 51.41 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.006746, allocations: 234.5 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.006755, allocations: 25.7 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.006806, allocations: 154.8 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.006827, allocations: 27.78 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.006859, allocations: 31.38 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.006968, allocations: 0.4961 MB / 383.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.006988, allocations: 12 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.007007, allocations: 11.98 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.007054, allocations: 39.75 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.007057, allocations: 4 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.781e-05/0.007145, allocations: 69.59 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.007156, allocations: 6.188 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.00716, allocations: 4 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.007175, allocations: 0 / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.007245, allocations: 23.92 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.00725, allocations: 0 / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.007268, allocations: 8 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.007276, allocations: 3.984 kB / 383.4 MB, free: 13.12 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.69e-05/0.007342, allocations: 164.5 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.007363, allocations: 15.84 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.007484, allocations: 83.45 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.007486, allocations: 3.938 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.007488, allocations: 0 / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.007493, allocations: 3.984 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.007794, allocations: 377.1 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007796, allocations: 4.031 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.007835, allocations: 23.98 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.007837, allocations: 0 / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.007843, allocations: 0 / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007844, allocations: 0 / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.007846, allocations: 4 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.007971, allocations: 243.4 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.007979, allocations: 7.953 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.007992, allocations: 7.984 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.4e-05/0.008026, allocations: 4 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.008054, allocations: 7.922 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.008059, allocations: 8 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.976e-05/0.008129, allocations: 163.9 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008129, allocations: 0 / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.008291, allocations: 23.94 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0008595/0.00915, allocations: 426 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.882e-05/0.009249, allocations: 47.59 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.00925, allocations: 0 / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.009278, allocations: 23.73 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.009483, allocations: 35.92 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.009811, allocations: 226.2 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.401e-05/0.009855, allocations: 75.27 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.009894, allocations: 17.02 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.009922, allocations: 20.48 kB / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009922, allocations: 0 / 385.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of Templates: time 0.003249/0.01317, allocations: 1.42 MB / 386.7 MB, free: 9.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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.1545598609372973]