Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001454/0.001454, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001513/0.001513, allocations: 161.7 kB / 24.27 MB, free: 172 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.534/1.534, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.3659/0.3659, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.681e-05, allocations: 9.344 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003593/0.003629, allocations: 1.603 MB / 376.9 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.005718, allocations: 1.247 MB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.005776, allocations: 0 / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.006031, allocations: 27.78 kB / 378.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.006376, allocations: 87.55 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.006669, allocations: 87.64 kB / 378.3 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.006852, allocations: 71.7 kB / 378.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.006964, allocations: 11.98 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.665e-05/0.007041, allocations: 35.92 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.007171, allocations: 27.89 kB / 378.5 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.007193, allocations: 4 kB / 378.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.007383, allocations: 91.88 kB / 378.6 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.00744, allocations: 7.938 kB / 378.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.007486, allocations: 23.91 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.007786, allocations: 143.5 kB / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.007791, allocations: 0 / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.007792, allocations: 0 / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.007797, allocations: 0 / 378.7 MB, free: 1.5 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.0005863/0.008383, allocations: 321.7 kB / 379.1 MB, free: 1.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.008423, allocations: 12.03 kB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.008486, allocations: 12.89 kB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.00871, allocations: 137.6 kB / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.008721, allocations: 384 / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.008748, allocations: 8.312 kB / 379.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.008945, allocations: 85.67 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.008958, allocations: 4.172 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.008974, allocations: 8.125 kB / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.008979, allocations: 0 / 379.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.62e-05/0.009075, allocations: 23.98 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.00948, allocations: 220.6 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.009717, allocations: 46.48 kB / 379.6 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.009773, allocations: 16.94 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.009805, allocations: 7.938 kB / 379.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.00984, allocations: 30.56 kB / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.009841, allocations: 0 / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006316/0.01047, allocations: 145.4 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.01054, allocations: 77.11 kB / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.01073, allocations: 157.6 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.01076, allocations: 29.7 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.01086, allocations: 88.14 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.01089, allocations: 15.89 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.01093, allocations: 17.72 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.01112, allocations: 322.8 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.0112, allocations: 15.98 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.01131, allocations: 67.34 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.01145, allocations: 44.83 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01145, allocations: 3.938 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002051/0.01166, allocations: 85.81 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.01168, allocations: 4 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01168, allocations: 0 / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.0117, allocations: 0 / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-05/0.01177, allocations: 20.02 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.01178, allocations: 7.875 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.01183, allocations: 7.938 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.01184, allocations: 0 / 380.7 MB, free: 15.29 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.000121/0.01196, allocations: 121.8 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.012, allocations: 7.953 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.01227, allocations: 94.08 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01228, allocations: 0 / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.01228, allocations: 4 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01229, allocations: 4 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.01276, allocations: 290.1 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.01276, allocations: 4 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.01282, allocations: 8 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01282, allocations: 0 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.01283, allocations: 0 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01283, allocations: 0 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.01283, allocations: 7.984 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.01311, allocations: 183.4 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.01313, allocations: 7.953 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.01315, allocations: 4.25 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-05/0.01324, allocations: 11.98 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.01327, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.01328, allocations: 7.984 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.01339, allocations: 109.6 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01339, allocations: 4 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002963/0.01369, allocations: 35.86 kB / 381.6 MB, free: 14.34 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.002245/0.01593, allocations: 0.5285 MB / 382.2 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.01617, allocations: 47.91 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01617, allocations: 0 / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.636e-05/0.01624, allocations: 27.92 kB / 382.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.01666, allocations: 15.98 kB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.01719, allocations: 176.3 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.958e-05/0.01729, allocations: 75.33 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.153e-05/0.01736, allocations: 8 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.6e-05/0.01741, allocations: 24.48 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01741, allocations: 0 / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of Templates: time 0.005365/0.02278, allocations: 1.831 MB / 384.4 MB, free: 11.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.883786262944341]