Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001991/0.001991, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002044/0.002044, allocations: 165.3 kB / 24.28 MB, free: 156 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.584/1.584, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3452/0.3452, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.06e-05, allocations: 2.312 kB / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003436/0.003467, allocations: 1.665 MB / 376.9 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.004769, allocations: 0.5608 MB / 377.5 MB, free: 2.746 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.004834, allocations: 0 / 377.5 MB, free: 2.746 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007582/0.005592, allocations: 463 kB / 378 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005603/0.006152, allocations: 291.2 kB / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.006619, allocations: 179.4 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.006894, allocations: 175.6 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.006999, allocations: 19.97 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.007167, allocations: 115.8 kB / 378.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.007474, allocations: 247.6 kB / 379 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.007504, allocations: 0 / 379 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.007617, allocations: 35.92 kB / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.007743, allocations: 91.64 kB / 379.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.007808, allocations: 39.73 kB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.008171, allocations: 235.1 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.008176, allocations: 0 / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.008178, allocations: 0 / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.008184, allocations: 0 / 379.3 MB, free: 0.8906 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001061/0.009245, allocations: 0.7162 MB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.009287, allocations: 8.031 kB / 380.1 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.009388, allocations: 52.66 kB / 380.1 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.009785, allocations: 252.7 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.0098, allocations: 4.375 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.009822, allocations: 384 / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.009991, allocations: 54.22 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.01001, allocations: 192 / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.01002, allocations: 8.125 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.01003, allocations: 0 / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.01012, allocations: 15.98 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.01085, allocations: 471.6 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.01109, allocations: 54.98 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.01114, allocations: 15.69 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.01116, allocations: 0 / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.01119, allocations: 37.39 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.01119, allocations: 0 / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006605/0.01185, allocations: 220.9 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.0119, allocations: 51.41 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/0.01273, allocations: 0.6745 MB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.01276, allocations: 33.7 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.01304, allocations: 302.8 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.01307, allocations: 15.84 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.01313, allocations: 27.38 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003809/0.01351, allocations: 0.5665 MB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.01357, allocations: 15.98 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-05/0.01362, allocations: 12 kB / 382.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.01374, allocations: 43.61 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.01374, allocations: 0 / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003445/0.01409, allocations: 121.3 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.0141, allocations: 4 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01411, allocations: 256 / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.01413, allocations: 0 / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/0.0142, allocations: 19.92 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.0142, allocations: 0 / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.01425, allocations: 4 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.01426, allocations: 0 / 383.1 MB, free: 12.92 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 0.0001504/0.01441, allocations: 164.5 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.811e-05/0.01448, allocations: 51.66 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.01475, allocations: 109.2 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01475, allocations: 0 / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.01475, allocations: 0 / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.01476, allocations: 0 / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/0.01547, allocations: 0.5169 MB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01547, allocations: 0 / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.01553, allocations: 11.98 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01553, allocations: 0 / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.01554, allocations: 8 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01554, allocations: 0 / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01554, allocations: 0 / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.01583, allocations: 263.5 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.01589, allocations: 31.72 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.01592, allocations: 8 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.01599, allocations: 0 / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.01603, allocations: 7.984 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.01604, allocations: 0 / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000482/0.01652, allocations: 442.8 kB / 384.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01652, allocations: 4 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.01677, allocations: 24 kB / 384.7 MB, free: 11.22 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.002791/0.01956, allocations: 437.4 kB / 385.2 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.01976, allocations: 51.59 kB / 385.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01977, allocations: 0 / 385.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.666e-05/0.01984, allocations: 27.69 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.02021, allocations: 33.84 kB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.02123, allocations: 0.5862 MB / 385.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.02147, allocations: 212.1 kB / 386.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.846e-05/0.02153, allocations: 16.22 kB / 386.1 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.02157, allocations: 16.5 kB / 386.1 MB, free: 9.98 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02157, allocations: 0 / 386.1 MB, free: 9.98 MB / 362.7 MB Notification: Performance of Templates: time 0.005314/0.02689, allocations: 1.351 MB / 387.4 MB, free: 8.641 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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: 4.952068764017895]