Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.0014/0.0014, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001573/0.001573, allocations: 165.7 kB / 24.26 MB, free: 148 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.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.4266/0.4266, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.442e-05/3.638e-05, allocations: 5.406 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003219/0.003255, allocations: 1.646 MB / 378.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.004422, allocations: 0.5414 MB / 379.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.00448, allocations: 4 kB / 379.5 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.00475, allocations: 35.77 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.005043, allocations: 83.56 kB / 379.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.005407, allocations: 123.6 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.005622, allocations: 95.59 kB / 379.8 MB, free: 408 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.005747, allocations: 27.97 kB / 379.9 MB, free: 380 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.005853, allocations: 39.91 kB / 379.9 MB, free: 340 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.005953, allocations: 35.89 kB / 379.9 MB, free: 304 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.005974, allocations: 4 kB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.00608, allocations: 47.92 kB / 380 MB, free: 252 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.006147, allocations: 23.91 kB / 380 MB, free: 228 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.006191, allocations: 15.94 kB / 380 MB, free: 212 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.006423, allocations: 119.5 kB / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.006429, allocations: 4 kB / 380.1 MB, free: 88 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006429, allocations: 0 / 380.1 MB, free: 88 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.006433, allocations: 0 / 380.1 MB, free: 88 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006079/0.007041, allocations: 333.7 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.007083, allocations: 12.02 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.007145, allocations: 12.89 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.007366, allocations: 145.6 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.007379, allocations: 384 / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.007412, allocations: 8.328 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.007625, allocations: 78.22 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.007641, allocations: 8.125 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.007654, allocations: 4.125 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.007661, allocations: 4 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.007797, allocations: 43.95 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.00831, allocations: 272.3 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.008485, allocations: 62.55 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.521e-05/0.00856, allocations: 24.84 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.008591, allocations: 8 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.008628, allocations: 30.56 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.008629, allocations: 0 / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001196/0.009825, allocations: 321.5 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.009886, allocations: 59.41 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.01009, allocations: 168.8 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.01011, allocations: 25.7 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.01019, allocations: 104.1 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.307e-05/0.01025, allocations: 51.73 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.01031, allocations: 25.72 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003444/0.01065, allocations: 322.8 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.01077, allocations: 47.97 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.01088, allocations: 47.91 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.01112, allocations: 116.9 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.01112, allocations: 0 / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003307/0.01145, allocations: 157.3 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.01146, allocations: 4 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.01147, allocations: 0 / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.01149, allocations: 0 / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.01165, allocations: 31.92 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.01166, allocations: 3.938 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/0.01171, allocations: 15.92 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.01172, allocations: 0 / 382.6 MB, free: 13.42 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 (13): * Single equations (assignments): 13 * 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.0001253/0.01185, allocations: 121.8 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.0119, allocations: 23.89 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.01234, allocations: 186.2 kB / 383 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.01234, allocations: 4 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.01235, allocations: 3.938 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01236, allocations: 0 / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/0.01307, allocations: 418.9 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01307, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.01317, allocations: 27.92 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01317, allocations: 4 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.01318, allocations: 0 / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.484e-05/0.0132, allocations: 7.984 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.0132, allocations: 0 / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.01358, allocations: 252.3 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.0136, allocations: 15.84 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.01363, allocations: 7.938 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.01371, allocations: 7.984 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.01376, allocations: 11.98 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.01377, allocations: 8 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.01389, allocations: 123.2 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01389, allocations: 0 / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002771/0.01417, allocations: 24 kB / 383.9 MB, free: 12.12 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 (13): * Single equations (assignments): 13 * 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.002224/0.01639, allocations: 493.4 kB / 384.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.01671, allocations: 119.7 kB / 384.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01671, allocations: 0 / 384.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.01684, allocations: 59.91 kB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.01723, allocations: 31.11 kB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.01784, allocations: 278 kB / 384.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.01795, allocations: 92.81 kB / 384.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.691e-05/0.01804, allocations: 32.52 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.0181, allocations: 20.5 kB / 385 MB, free: 11.19 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.0181, allocations: 0 / 385 MB, free: 11.19 MB / 362.7 MB Notification: Performance of Templates: time 0.004881/0.02298, allocations: 1.598 MB / 386.6 MB, free: 9.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.957039913977496]