Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.0009235/0.0009235, allocations: 79.59 kB / 21.18 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.00101/0.00101, allocations: 161 kB / 24.56 MB, free: 12 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.9058/0.9058, allocations: 177.1 MB / 205 MB, free: 5.582 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.3051/0.3051, allocations: 32.81 MB / 294.3 MB, free: 1.18 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.Test24,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.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.CombiTable1Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 376 MB, free: 4.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.438e-05, allocations: 2.312 kB / 376 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.001879/0.001893, allocations: 1.649 MB / 377.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.003245, allocations: 1.282 MB / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.003287, allocations: 0 / 379 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.00347, allocations: 23.78 kB / 379 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.003711, allocations: 87.55 kB / 379.1 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.003913, allocations: 119.5 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.004036, allocations: 71.78 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.00412, allocations: 7.984 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.451e-05/0.004175, allocations: 39.84 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.479e-05/0.00426, allocations: 27.91 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.004274, allocations: 4 kB / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.004384, allocations: 87.88 kB / 379.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.004421, allocations: 15.92 kB / 379.4 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.004446, allocations: 15.92 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.004622, allocations: 127.6 kB / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004624, allocations: 0 / 379.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004625, allocations: 4 kB / 379.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.004628, allocations: 0 / 379.6 MB, free: 1.035 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.0003568/0.004985, allocations: 432 kB / 380 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.005017, allocations: 12.03 kB / 380 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.005062, allocations: 8.891 kB / 380 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.005199, allocations: 140.5 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.00521, allocations: 4.375 kB / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.005229, allocations: 384 / 380.2 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.005355, allocations: 104 kB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.005365, allocations: 192 / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.005374, allocations: 8.125 kB / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.00538, allocations: 0 / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.724e-05/0.005407, allocations: 11.98 kB / 380.3 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.005673, allocations: 275.8 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.005821, allocations: 46.98 kB / 380.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.005839, allocations: 7.688 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.005857, allocations: 7.938 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.005878, allocations: 33.48 kB / 380.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.005879, allocations: 0 / 380.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003165/0.006195, allocations: 109.4 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.006226, allocations: 81.11 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.00633, allocations: 189.9 kB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.006341, allocations: 29.7 kB / 381 MB, free: 15.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.006384, allocations: 142.9 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.006403, allocations: 19.86 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.006431, allocations: 27.36 kB / 381.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.006526, allocations: 496.1 kB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.006542, allocations: 7.984 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.006574, allocations: 53.02 kB / 381.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.00661, allocations: 31.81 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.006611, allocations: 8.031 kB / 381.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.284e-05/0.006674, allocations: 57.62 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.006684, allocations: 4 kB / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.006688, allocations: 0 / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.006699, allocations: 0 / 381.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.607e-05/0.006735, allocations: 11.98 kB / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.006739, allocations: 0 / 381.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.006759, allocations: 11.89 kB / 381.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.006764, allocations: 7.938 kB / 381.9 MB, free: 14.46 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 5.321e-05/0.006818, allocations: 156.6 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.006836, allocations: 15.89 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.719e-05/0.006934, allocations: 70.14 kB / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.006935, allocations: 0 / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.006937, allocations: 0 / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.00694, allocations: 288 / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.007147, allocations: 329.3 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007148, allocations: 0 / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.007173, allocations: 11.98 kB / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.007175, allocations: 0 / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.007182, allocations: 3.984 kB / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007183, allocations: 4 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.007184, allocations: 4 kB / 382.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.528e-05/0.007279, allocations: 212 kB / 382.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.007288, allocations: 11.94 kB / 382.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.007299, allocations: 4 kB / 382.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.112e-05/0.00733, allocations: 0 / 382.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.007356, allocations: 8 kB / 382.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.007359, allocations: 0 / 382.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.082e-05/0.007419, allocations: 152.7 kB / 382.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007419, allocations: 0 / 382.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001759/0.007595, allocations: 39.86 kB / 382.9 MB, free: 13.38 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.0008855/0.008481, allocations: 480 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.109e-05/0.008572, allocations: 27.67 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.008573, allocations: 4 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.008595, allocations: 27.61 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.008787, allocations: 22.98 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.009065, allocations: 173.9 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.642e-05/0.009102, allocations: 63.34 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.961e-05/0.009142, allocations: 15.97 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.009172, allocations: 16.48 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009172, allocations: 0 / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of Templates: time 0.003624/0.0128, allocations: 2.02 MB / 385.7 MB, free: 10.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.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.065542687661946]