Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001023/0.001023, 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.001099/0.001099, 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.9763/0.9763, allocations: 177.1 MB / 205 MB, free: 5.609 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.2491/0.2491, allocations: 32.8 MB / 294.3 MB, free: 1.211 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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.294e-05, allocations: 2.312 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.004209/0.004242, allocations: 1.725 MB / 377.8 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.005392, allocations: 0.5647 MB / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.301e-05/0.005475, allocations: 0 / 378.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.005804, allocations: 59.67 kB / 378.4 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003682/0.006173, allocations: 87.55 kB / 378.5 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.006646, allocations: 179.5 kB / 378.6 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.00685, allocations: 91.69 kB / 378.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.006958, allocations: 12.22 kB / 378.7 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.007046, allocations: 47.89 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.007149, allocations: 35.89 kB / 378.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.007166, allocations: 8 kB / 378.8 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.007278, allocations: 51.92 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.942e-05/0.007357, allocations: 27.91 kB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.007398, allocations: 19.92 kB / 378.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.007614, allocations: 99.53 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.007618, allocations: 0 / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.007619, allocations: 0 / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.007625, allocations: 0 / 379 MB, free: 1.621 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.0005176/0.008142, allocations: 440 kB / 379.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.008186, allocations: 8.031 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.00825, allocations: 20.84 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.008441, allocations: 147.5 kB / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.008453, allocations: 384 / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.00848, allocations: 8.375 kB / 379.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.00865, allocations: 66.88 kB / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.008663, allocations: 192 / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.008675, allocations: 8.125 kB / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.008684, allocations: 0 / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.983e-05/0.008734, allocations: 11.98 kB / 379.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.009149, allocations: 307.6 kB / 380 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.009366, allocations: 54.98 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.009398, allocations: 11.81 kB / 380.1 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.00942, allocations: 8 kB / 380.1 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.009444, allocations: 33.48 kB / 380.1 MB, free: 400 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.009445, allocations: 3.938 kB / 380.1 MB, free: 396 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.000834/0.01028, allocations: 245.7 kB / 380.4 MB, free: 144 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.01032, allocations: 51.41 kB / 380.4 MB, free: 80 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.01049, allocations: 213.8 kB / 380.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.0105, allocations: 29.7 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.01058, allocations: 146.9 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.01062, allocations: 51.56 kB / 380.9 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.01068, allocations: 31.38 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.01082, allocations: 0.4961 MB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.371e-05/0.01086, allocations: 20.05 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.0109, allocations: 15.98 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.111e-05/0.01099, allocations: 51.62 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.01099, allocations: 7.938 kB / 381.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001603/0.01115, allocations: 89.95 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.01117, allocations: 5.875 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01117, allocations: 0 / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.01119, allocations: 4 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.01128, allocations: 19.98 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01129, allocations: 3.938 kB / 381.6 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.654e-05/0.01132, allocations: 4 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.01134, allocations: 7.984 kB / 381.6 MB, free: 14.84 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 (11): * Single equations (assignments): 11 * 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 9.137e-05/0.01143, allocations: 172.5 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.01147, allocations: 15.91 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.01169, allocations: 114.4 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01169, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.01169, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.0117, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.01215, allocations: 412.6 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01215, allocations: 4 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.01224, allocations: 27.92 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.01225, allocations: 8.062 kB / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01226, allocations: 0 / 382.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.01226, allocations: 3.938 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.01227, allocations: 4 kB / 382.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.01252, allocations: 259.1 kB / 382.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.01253, allocations: 7.953 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.01255, allocations: 7.938 kB / 382.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.01263, allocations: 11.92 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.01267, allocations: 7.984 kB / 382.6 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.01268, allocations: 8 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.864e-05/0.01277, allocations: 161.6 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01277, allocations: 0 / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003025/0.01307, allocations: 23.94 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001245/0.01432, allocations: 431.1 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.01449, allocations: 63.59 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.0145, allocations: 0 / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.061e-05/0.01456, allocations: 39.61 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.0149, allocations: 32 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.01543, allocations: 266.1 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.801e-05/0.0155, allocations: 75.34 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.854e-05/0.01559, allocations: 28.44 kB / 383.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.01564, allocations: 20.5 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01564, allocations: 0 / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.004852/0.02049, allocations: 1.776 MB / 385.5 MB, free: 10.92 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/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.9637018810026348]