Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.0009713/0.0009713, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.000902/0.000902, allocations: 168.4 kB / 24.92 MB, free: 8.258 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.9583/0.9583, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2468/0.2468, allocations: 32.81 MB / 294.6 MB, free: 1.234 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.512e-05, allocations: 6.5 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002298/0.002313, allocations: 1.745 MB / 325 MB, free: 7.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00084/0.003153, allocations: 0.5607 MB / 325.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.003207, allocations: 4 kB / 325.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.003657, allocations: 451.1 kB / 326 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003792/0.004036, allocations: 291.2 kB / 326.3 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.004307, allocations: 139.5 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.004541, allocations: 167.6 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.004631, allocations: 20.59 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.004748, allocations: 119.8 kB / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.004917, allocations: 199.6 kB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.004933, allocations: 4 kB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/0.005026, allocations: 51.92 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.581e-05/0.005112, allocations: 87.64 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.005145, allocations: 43.73 kB / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.005361, allocations: 207.1 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.005363, allocations: 0 / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005364, allocations: 0 / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005367, allocations: 0 / 327.3 MB, free: 5.547 MB / 298.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.0004438/0.005811, allocations: 0.55 MB / 327.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.005842, allocations: 12.03 kB / 327.9 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.005885, allocations: 28.84 kB / 327.9 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.006063, allocations: 242 kB / 328.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.006073, allocations: 12.31 kB / 328.2 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.00609, allocations: 4.375 kB / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.378e-05/0.006184, allocations: 58.95 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.006193, allocations: 192 / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.006203, allocations: 8.109 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.006208, allocations: 0 / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/0.006231, allocations: 8 kB / 328.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.006443, allocations: 180.1 kB / 328.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.295e-05/0.006486, allocations: 30.55 kB / 328.5 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.114e-05/0.006497, allocations: 8.859 kB / 328.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.006513, allocations: 11.94 kB / 328.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.006532, allocations: 34.59 kB / 328.5 MB, free: 4.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.006533, allocations: 0 / 328.5 MB, free: 4.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004538/0.006987, allocations: 157.8 kB / 328.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.007022, allocations: 55.39 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.007376, allocations: 0.5244 MB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.00739, allocations: 25.7 kB / 329.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.007462, allocations: 149.2 kB / 329.4 MB, free: 3.328 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.007493, allocations: 31.75 kB / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.007525, allocations: 21.7 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.007651, allocations: 362.6 kB / 329.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.007666, allocations: 4 kB / 329.8 MB, free: 2.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.659e-05/0.007683, allocations: 11.97 kB / 329.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.007724, allocations: 28.78 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.007726, allocations: 0 / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.725e-05/0.007823, allocations: 69.66 kB / 329.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.00784, allocations: 4 kB / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.007844, allocations: 0 / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.007856, allocations: 0 / 329.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.412e-05/0.00792, allocations: 23.98 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.007923, allocations: 0 / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.007947, allocations: 4 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.007953, allocations: 4 kB / 330 MB, free: 2.75 MB / 298.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.827e-05/0.008021, allocations: 116.5 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.008048, allocations: 31.91 kB / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.008167, allocations: 105.8 kB / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.008168, allocations: 0 / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.00817, allocations: 4 kB / 330.2 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.008173, allocations: 4 kB / 330.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.008424, allocations: 307.4 kB / 330.5 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.008425, allocations: 0 / 330.5 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.008462, allocations: 15.98 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008464, allocations: 0 / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.008472, allocations: 11.94 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.008473, allocations: 0 / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008474, allocations: 0 / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.971e-05/0.008574, allocations: 172.3 kB / 330.7 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.008598, allocations: 35.75 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.008611, allocations: 4 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.765e-05/0.008649, allocations: 7.984 kB / 330.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.008672, allocations: 4 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.008677, allocations: 7.984 kB / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001812/0.008858, allocations: 287.2 kB / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008858, allocations: 0 / 331.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001478/0.009006, allocations: 31.88 kB / 331.1 MB, free: 1.562 MB / 298.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.001227/0.01023, allocations: 0.5703 MB / 331.7 MB, free: 1.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.495e-05/0.01033, allocations: 32.84 kB / 331.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.01034, allocations: 8 kB / 331.7 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.781e-05/0.01037, allocations: 28.77 kB / 331.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.01059, allocations: 36.91 kB / 331.8 MB, free: 1.188 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/0.01122, allocations: 0.5943 MB / 332.4 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.681e-05/0.0113, allocations: 123.2 kB / 332.5 MB, free: 428 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.818e-05/0.01133, allocations: 16.7 kB / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.01139, allocations: 59.38 kB / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01139, allocations: 0 / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of Templates: time 0.003928/0.01531, allocations: 1.711 MB / 334.3 MB, free: 14.64 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.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.9543188200332224]