Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001989/0.001989, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.00213/0.00213, allocations: 161.3 kB / 24.27 MB, free: 148 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 1.585/1.585, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3462/0.3462, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.077e-05, allocations: 10.25 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003698/0.003729, allocations: 1.685 MB / 377 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.005035, allocations: 0.5608 MB / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.005105, allocations: 3.938 kB / 377.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.005429, allocations: 83.64 kB / 377.6 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.005797, allocations: 111.5 kB / 377.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.006308, allocations: 167.6 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.00652, allocations: 103.7 kB / 378 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.006627, allocations: 8.234 kB / 378 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.006758, allocations: 51.88 kB / 378.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.006891, allocations: 51.86 kB / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.006915, allocations: 4 kB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.00706, allocations: 51.92 kB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.007158, allocations: 23.92 kB / 378.2 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.007208, allocations: 19.92 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.007483, allocations: 123.5 kB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.007486, allocations: 0 / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007488, allocations: 4 kB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.007493, allocations: 0 / 378.3 MB, free: 1.895 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.0006997/0.008192, allocations: 459.5 kB / 378.8 MB, free: 1.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.008228, allocations: 8.031 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.008298, allocations: 24.78 kB / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.008533, allocations: 156.8 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.008549, allocations: 4.359 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.008578, allocations: 8.375 kB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.008749, allocations: 54.23 kB / 379 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.008762, allocations: 192 / 379 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.00878, allocations: 12.12 kB / 379 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.008785, allocations: 0 / 379 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.008914, allocations: 31.92 kB / 379.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.009461, allocations: 319.7 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.009717, allocations: 63.02 kB / 379.4 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.597e-05/0.009793, allocations: 23.8 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.009814, allocations: 4 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.009846, allocations: 37.39 kB / 379.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.009847, allocations: 0 / 379.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001207/0.01105, allocations: 285.6 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.01111, allocations: 59.34 kB / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.01138, allocations: 249.9 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.01141, allocations: 29.7 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.01152, allocations: 166.8 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.01157, allocations: 35.7 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.235e-05/0.01165, allocations: 43.3 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002996/0.01195, allocations: 0.504 MB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.01205, allocations: 23.98 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.897e-05/0.01215, allocations: 31.97 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.01238, allocations: 83.78 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01238, allocations: 4 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003051/0.01269, allocations: 121.5 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.0127, allocations: 7.938 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.01271, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.01273, allocations: 4 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.01284, allocations: 19.98 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.01285, allocations: 0 / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.0129, allocations: 8 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.01292, allocations: 15.97 kB / 381.2 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 0.0001295/0.01305, allocations: 164.5 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.0131, allocations: 19.91 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.01348, allocations: 143.5 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01348, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.01349, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01349, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009983/0.01449, allocations: 472.5 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.01449, allocations: 4 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.01459, allocations: 19.98 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.0146, allocations: 4 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01461, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.01462, allocations: 7.922 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.01462, allocations: 4 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.01505, allocations: 291.2 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.01508, allocations: 15.97 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.0151, allocations: 4 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.01519, allocations: 15.92 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.01525, allocations: 7.984 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.01526, allocations: 4 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.01542, allocations: 176.2 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01542, allocations: 4 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002847/0.0157, allocations: 27.88 kB / 382.5 MB, free: 13.39 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.003458/0.01916, allocations: 0.4999 MB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003354/0.0195, allocations: 83.64 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.0195, allocations: 3.938 kB / 383.1 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.01966, allocations: 63.59 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.02002, allocations: 23.98 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.02073, allocations: 294.5 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.02086, allocations: 109.7 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.983e-05/0.02096, allocations: 32.56 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.02101, allocations: 16.5 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02101, allocations: 0 / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.005479/0.02649, allocations: 1.659 MB / 385.3 MB, free: 10.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.65627412404865]