Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001073/0.001073, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001295/0.001295, allocations: 162.6 kB / 24.99 MB, free: 9.273 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 1.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2756/0.2756, allocations: 32.8 MB / 294.6 MB, free: 1.215 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.Test30,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 376 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.521e-05, allocations: 2.312 kB / 376 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002226/0.002251, allocations: 1.653 MB / 377.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007075/0.002958, allocations: 0.5259 MB / 378.2 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.003019, allocations: 8 kB / 378.2 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.003258, allocations: 79.64 kB / 378.3 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.003538, allocations: 107.5 kB / 378.4 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.003766, allocations: 91.58 kB / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.003916, allocations: 83.8 kB / 378.6 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.777e-05/0.004004, allocations: 8 kB / 378.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.004077, allocations: 51.88 kB / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.111e-05/0.004168, allocations: 47.88 kB / 378.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.004181, allocations: 7.938 kB / 378.7 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.693e-05/0.004268, allocations: 51.92 kB / 378.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.004315, allocations: 19.91 kB / 378.8 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.004343, allocations: 19.88 kB / 378.8 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.004499, allocations: 87.72 kB / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004501, allocations: 0 / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004502, allocations: 4 kB / 378.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.004507, allocations: 0 / 378.9 MB, free: 2.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003891/0.004896, allocations: 439.9 kB / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.004933, allocations: 11.97 kB / 379.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.004978, allocations: 16.84 kB / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.005121, allocations: 153.1 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.005129, allocations: 384 / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.005151, allocations: 8.375 kB / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.005277, allocations: 58.94 kB / 379.5 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.005288, allocations: 8.172 kB / 379.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.005297, allocations: 4.125 kB / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.005304, allocations: 0 / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.403e-05/0.005338, allocations: 11.98 kB / 379.6 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.00563, allocations: 291.6 kB / 379.8 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.656e-05/0.005697, allocations: 43.05 kB / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.005721, allocations: 23.62 kB / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.005738, allocations: 0 / 379.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.005759, allocations: 41.41 kB / 380 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.00576, allocations: 4 kB / 380 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000528/0.006288, allocations: 165.4 kB / 380.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.006317, allocations: 51.41 kB / 380.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.006456, allocations: 234.4 kB / 380.4 MB, free: 372 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.006468, allocations: 29.69 kB / 380.4 MB, free: 336 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.006525, allocations: 158.8 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.006552, allocations: 31.73 kB / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.006583, allocations: 23.38 kB / 380.6 MB, free: 108 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.006714, allocations: 0.5 MB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.006739, allocations: 11.98 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.006756, allocations: 8 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.166e-05/0.006808, allocations: 43.83 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.006809, allocations: 0 / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.19e-05/0.0069, allocations: 73.59 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.006915, allocations: 9.875 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.006921, allocations: 4 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.006933, allocations: 4 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/0.007009, allocations: 12 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.007015, allocations: 7.922 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.007036, allocations: 8 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.007041, allocations: 0 / 381.3 MB, free: 15.41 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.665e-05/0.007108, allocations: 164.5 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.007137, allocations: 19.91 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.00727, allocations: 87.11 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.007273, allocations: 0 / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.007276, allocations: 0 / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.00728, allocations: 8 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.007576, allocations: 369 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.007578, allocations: 4 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.007619, allocations: 15.98 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.007622, allocations: 0 / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.007629, allocations: 4 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.007631, allocations: 7.938 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007632, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.007759, allocations: 235.9 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.007768, allocations: 11.98 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.00778, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.007817, allocations: 8 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.007849, allocations: 15.91 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.007852, allocations: 0 / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.473e-05/0.007927, allocations: 167.2 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007927, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001783/0.008105, allocations: 20 kB / 382.4 MB, free: 14.21 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.0009205/0.009026, allocations: 449.3 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.009138, allocations: 43.67 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009139, allocations: 0 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.033e-05/0.009169, allocations: 31.55 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.009397, allocations: 27.94 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.00975, allocations: 225.8 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.388e-05/0.009794, allocations: 71.34 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.417e-05/0.009829, allocations: 17.08 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.009856, allocations: 16.5 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.009857, allocations: 0 / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of Templates: time 0.003544/0.0134, allocations: 1.373 MB / 384.7 MB, free: 12.08 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.354225145885721]