Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001888/0.001888, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.00199/0.00199, allocations: 161.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.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3441/0.3441, allocations: 34.26 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.936e-05, allocations: 6.312 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003111/0.00314, allocations: 1.622 MB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.004476, allocations: 0.5337 MB / 379.5 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.004525, allocations: 0 / 379.5 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.004852, allocations: 127.5 kB / 379.6 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.005179, allocations: 135.4 kB / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.005441, allocations: 87.7 kB / 379.8 MB, free: 456 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.005629, allocations: 99.72 kB / 379.9 MB, free: 356 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.005723, allocations: 15.98 kB / 379.9 MB, free: 340 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.005831, allocations: 55.81 kB / 380 MB, free: 284 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.005992, allocations: 87.88 kB / 380.1 MB, free: 196 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.006012, allocations: 0 / 380.1 MB, free: 196 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.006117, allocations: 47.92 kB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.006179, allocations: 31.86 kB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.006218, allocations: 15.92 kB / 380.2 MB, free: 100 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.006464, allocations: 119.6 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.006469, allocations: 4 kB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.00647, allocations: 0 / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.006475, allocations: 0 / 380.3 MB, free: 15.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00062/0.007095, allocations: 479.1 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.007132, allocations: 8.031 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.007188, allocations: 20.84 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.007408, allocations: 148.4 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.007418, allocations: 4.375 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.007439, allocations: 4.375 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.007572, allocations: 54.23 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.007583, allocations: 192 / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.007593, allocations: 4.125 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.007596, allocations: 3.938 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.127e-05/0.007678, allocations: 19.98 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.008114, allocations: 315.7 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.008233, allocations: 54.98 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.00829, allocations: 19.7 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.008312, allocations: 8 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.008344, allocations: 33.39 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.008345, allocations: 0 / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000808/0.009153, allocations: 217.5 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.0092, allocations: 55.41 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.009512, allocations: 290.8 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.009531, allocations: 25.7 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.009665, allocations: 178.8 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.009707, allocations: 31.73 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.00976, allocations: 27.38 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002929/0.01005, allocations: 0.5118 MB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.01012, allocations: 19.98 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.977e-05/0.01018, allocations: 23.92 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.01032, allocations: 55.67 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.01033, allocations: 0 / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002118/0.01054, allocations: 109.6 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.01055, allocations: 7.938 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.01055, allocations: 0 / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.01057, allocations: 4 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.01066, allocations: 15.98 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.01067, allocations: 3.938 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.075e-05/0.01071, allocations: 8 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.01072, allocations: 0 / 383 MB, free: 13.05 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 (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 0.0001326/0.01085, allocations: 164.5 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.01089, allocations: 23.89 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.01117, allocations: 115.1 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01117, allocations: 0 / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.01117, allocations: 0 / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01117, allocations: 0 / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.01177, allocations: 425.4 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01177, allocations: 4 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.01183, allocations: 15.94 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.01183, allocations: 0 / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01185, allocations: 4.016 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01185, allocations: 8 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01185, allocations: 80 / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.01217, allocations: 263.4 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.01219, allocations: 11.91 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.01221, allocations: 4 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.248e-05/0.01227, allocations: 3.938 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.01231, allocations: 11.92 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.01232, allocations: 8 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001833/0.01251, allocations: 196.1 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01251, allocations: 4 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.01275, allocations: 20 kB / 384.2 MB, free: 11.71 MB / 362.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.003202/0.01595, allocations: 496 kB / 384.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.01618, allocations: 71.59 kB / 384.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01618, allocations: 0 / 384.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.994e-05/0.01627, allocations: 39.67 kB / 384.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.0166, allocations: 26.91 kB / 384.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006043/0.01721, allocations: 287.1 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.01732, allocations: 101.2 kB / 385.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.384e-05/0.01738, allocations: 17.03 kB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.01742, allocations: 20.48 kB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01742, allocations: 0 / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of Templates: time 0.004966/0.02239, allocations: 1.377 MB / 386.7 MB, free: 9.449 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.87592452194076]