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.001104/0.001104, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001212/0.001212, allocations: 167.1 kB / 24.82 MB, free: 8.875 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.9068/0.9068, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2413/0.2413, allocations: 32.81 MB / 294.6 MB, free: 1.25 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 2.615e-06/2.615e-06, allocations: 0 / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.647e-05, allocations: 2.312 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003149/0.003175, allocations: 1.629 MB / 378.1 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.004917, allocations: 1.274 MB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.004991, allocations: 8 kB / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.00522, allocations: 27.78 kB / 379.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.005586, allocations: 87.55 kB / 379.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.00592, allocations: 111.6 kB / 379.6 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.006072, allocations: 67.78 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.006171, allocations: 15.92 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.044e-05/0.006251, allocations: 39.89 kB / 379.8 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.006362, allocations: 19.92 kB / 379.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.00638, allocations: 8 kB / 379.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.006637, allocations: 91.81 kB / 379.9 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.006689, allocations: 15.92 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.006719, allocations: 15.92 kB / 379.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.006961, allocations: 123.6 kB / 380 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.006965, allocations: 7.938 kB / 380 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.006966, allocations: 0 / 380 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.00697, allocations: 0 / 380 MB, free: 0.8438 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.0004252/0.007395, allocations: 435.9 kB / 380.5 MB, free: 392 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.007435, allocations: 8.031 kB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.007478, allocations: 12.88 kB / 380.5 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.007632, allocations: 136.5 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.007642, allocations: 384 / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.007663, allocations: 8.375 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.007804, allocations: 99.95 kB / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.007814, allocations: 4.172 kB / 380.7 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.007825, allocations: 8.125 kB / 380.7 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.00783, allocations: 0 / 380.7 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.587e-05/0.007856, allocations: 8 kB / 380.7 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.00816, allocations: 260.4 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.008304, allocations: 46.98 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.008324, allocations: 11.69 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.008347, allocations: 4 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.00837, allocations: 37.33 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.008372, allocations: 0 / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003315/0.008703, allocations: 89.58 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.008745, allocations: 81.11 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.00888, allocations: 189.9 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.008892, allocations: 25.7 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.009082, allocations: 154.8 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.009102, allocations: 11.91 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.00914, allocations: 27.38 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.009263, allocations: 0.4884 MB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.009279, allocations: 4 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.224e-05/0.009321, allocations: 57.05 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.009361, allocations: 23.62 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.009362, allocations: 0 / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.234e-05/0.009454, allocations: 61.58 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.009467, allocations: 7.938 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.009471, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.009483, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.009537, allocations: 16.02 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-06/0.00954, allocations: 0 / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.009569, allocations: 4 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.009573, allocations: 0 / 382.3 MB, free: 14.32 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 7.238e-05/0.009646, allocations: 160.6 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.00968, allocations: 11.89 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.009805, allocations: 70.02 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.009807, allocations: 320 / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.009808, allocations: 4 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.009811, allocations: 0 / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.0101, allocations: 309.9 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.0101, allocations: 4 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.01014, allocations: 8 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01014, allocations: 0 / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.01015, allocations: 4 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01015, allocations: 0 / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01015, allocations: 0 / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.01029, allocations: 203.8 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.0103, allocations: 11.94 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.01032, allocations: 0 / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.033e-05/0.01038, allocations: 8 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.01041, allocations: 7.984 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.01041, allocations: 4 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.934e-05/0.01048, allocations: 149.1 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01048, allocations: 0 / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.0108, allocations: 39.86 kB / 383.3 MB, free: 13.28 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.001358/0.01215, allocations: 494 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.654e-05/0.01225, allocations: 19.69 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01225, allocations: 0 / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.149e-05/0.01228, allocations: 27.59 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.01259, allocations: 35.8 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.01295, allocations: 161.9 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.4e-05/0.013, allocations: 67.34 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.091e-05/0.01306, allocations: 15.97 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.775e-05/0.01314, allocations: 82.19 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01315, allocations: 0 / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Templates: time 0.004959/0.0181, allocations: 2.048 MB / 386.2 MB, free: 10.48 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: 2.824993206653744]