Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.002489/0.002489, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002957/0.002957, allocations: 165.3 kB / 24.27 MB, free: 152 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.568/1.568, allocations: 177.1 MB / 204.6 MB, free: 5.574 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.3776/0.3776, allocations: 32.8 MB / 293.9 MB, free: 1.219 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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.083e-05, allocations: 6.312 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003891/0.003922, allocations: 2.011 MB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.0062, allocations: 1.102 MB / 378.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.006326, allocations: 4 kB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006113/0.006938, allocations: 278.8 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006226/0.00756, allocations: 262.9 kB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.009022, allocations: 0.643 MB / 379.6 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.009561, allocations: 359 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.009737, allocations: 56.75 kB / 380 MB, free: 260 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.01, allocations: 183.4 kB / 380.2 MB, free: 76 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.01033, allocations: 207.5 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.01038, allocations: 12 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.01055, allocations: 71.86 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.01083, allocations: 103.5 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.515e-05/0.01093, allocations: 63.66 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.01144, allocations: 318.8 kB / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.01145, allocations: 0 / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01145, allocations: 0 / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.01146, allocations: 0 / 380.9 MB, free: 15.31 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001032/0.01249, allocations: 0.724 MB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.01253, allocations: 11.98 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.01264, allocations: 52.66 kB / 381.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.01309, allocations: 274.7 kB / 382 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.01311, allocations: 8.375 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.01316, allocations: 16.33 kB / 382 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.01338, allocations: 94.2 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.0134, allocations: 192 / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.01342, allocations: 12.12 kB / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.01342, allocations: 0 / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.01359, allocations: 67.83 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008392/0.01443, allocations: 0.515 MB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.01462, allocations: 87.03 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.0147, allocations: 31.67 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.01473, allocations: 4 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.01477, allocations: 41.33 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.01477, allocations: 0 / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001008/0.01578, allocations: 372.7 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.01583, allocations: 63.39 kB / 383.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006756/0.01651, allocations: 0.5378 MB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.01653, allocations: 25.7 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.01679, allocations: 283.2 kB / 384.1 MB, free: 11.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.331e-05/0.01686, allocations: 63.47 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.01694, allocations: 47.36 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000342/0.01728, allocations: 0.5508 MB / 384.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.01739, allocations: 35.98 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.0175, allocations: 43.88 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.01774, allocations: 113.7 kB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.01774, allocations: 0 / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003914/0.01813, allocations: 185.3 kB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.01815, allocations: 14.12 kB / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01816, allocations: 0 / 385.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.01818, allocations: 3.938 kB / 385.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.01834, allocations: 31.92 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.01835, allocations: 4 kB / 385.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.01841, allocations: 4 kB / 385.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.01843, allocations: 4 kB / 385.2 MB, free: 10.82 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 (17): * Single equations (assignments): 17 * 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.0001561/0.01858, allocations: 176.6 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.01867, allocations: 51.72 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.01919, allocations: 221.5 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.0192, allocations: 0 / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.0192, allocations: 0 / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.0192, allocations: 0 / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009817/0.02018, allocations: 0.6338 MB / 386.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.02019, allocations: 4 kB / 386.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.0203, allocations: 27.98 kB / 386.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.02031, allocations: 7.984 kB / 386.3 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.02032, allocations: 8 kB / 386.3 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.02032, allocations: 3.938 kB / 386.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02032, allocations: 0 / 386.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004578/0.02078, allocations: 342 kB / 386.7 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.02084, allocations: 35.72 kB / 386.7 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.02088, allocations: 3.984 kB / 386.7 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.369e-05/0.02098, allocations: 8 kB / 386.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.02103, allocations: 11.98 kB / 386.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.02104, allocations: 4 kB / 386.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004189/0.02146, allocations: 363 kB / 387.1 MB, free: 8.871 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02146, allocations: 0 / 387.1 MB, free: 8.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003186/0.02178, allocations: 51.92 kB / 387.1 MB, free: 8.82 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 (17): * Single equations (assignments): 17 * 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.005586/0.02736, allocations: 0.7659 MB / 387.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005137/0.02788, allocations: 122.4 kB / 388 MB, free: 8.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.02788, allocations: 4 kB / 388 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.02803, allocations: 75.52 kB / 388.1 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.02861, allocations: 91.45 kB / 388.2 MB, free: 8.129 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.02975, allocations: 0.6134 MB / 388.8 MB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.03002, allocations: 220.8 kB / 389 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.03016, allocations: 49.91 kB / 389.1 MB, free: 7.199 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.134e-05/0.03024, allocations: 32.48 kB / 389.1 MB, free: 7.168 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03024, allocations: 0 / 389.1 MB, free: 7.168 MB / 362.7 MB Notification: Performance of Templates: time 0.008954/0.03919, allocations: 3.438 MB / 392.5 MB, free: 3.773 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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: 5.215090909972787]