Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001192/0.001192, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001404/0.001404, allocations: 165 kB / 24.99 MB, free: 8.328 MB / 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2576/0.2576, allocations: 32.8 MB / 294.6 MB, free: 1.23 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.789e-05, allocations: 2.312 kB / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.005591/0.005619, allocations: 1.69 MB / 377.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008437/0.006462, allocations: 0.5493 MB / 378.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.006526, allocations: 0 / 378.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.006803, allocations: 103.6 kB / 378.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.007083, allocations: 111.5 kB / 378.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003304/0.01039, allocations: 111.7 kB / 378.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.01057, allocations: 107.7 kB / 378.7 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.01068, allocations: 23.98 kB / 378.7 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/0.01075, allocations: 55.88 kB / 378.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.599e-05/0.01085, allocations: 59.86 kB / 378.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.01087, allocations: 4 kB / 378.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.922e-05/0.01095, allocations: 47.92 kB / 378.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.011, allocations: 27.84 kB / 378.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.01104, allocations: 23.92 kB / 378.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.01123, allocations: 115.5 kB / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01123, allocations: 0 / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01123, allocations: 0 / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.01123, allocations: 4 kB / 379 MB, free: 1.918 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004331/0.01167, allocations: 459.8 kB / 379.5 MB, free: 1.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.01171, allocations: 15.97 kB / 379.5 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.01176, allocations: 16.84 kB / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.01193, allocations: 164.3 kB / 379.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.01195, allocations: 384 / 379.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.01197, allocations: 8.375 kB / 379.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.01212, allocations: 74.92 kB / 379.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.01213, allocations: 4.188 kB / 379.8 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.01215, allocations: 8.125 kB / 379.8 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.01216, allocations: 0 / 379.8 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.598e-05/0.01221, allocations: 19.98 kB / 379.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.01266, allocations: 339.5 kB / 380.1 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.446e-05/0.01276, allocations: 55.05 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.01279, allocations: 11.69 kB / 380.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.01281, allocations: 4 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.01284, allocations: 37.33 kB / 380.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.01284, allocations: 0 / 380.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.00379/0.01663, allocations: 252.6 kB / 380.5 MB, free: 352 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.01666, allocations: 51.41 kB / 380.5 MB, free: 288 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.01685, allocations: 246.7 kB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.01688, allocations: 33.7 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.01696, allocations: 166.7 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.017, allocations: 43.59 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-05/0.01705, allocations: 35.36 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.01723, allocations: 0.504 MB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.83e-05/0.01728, allocations: 24.11 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/0.01732, allocations: 23.98 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.247e-05/0.01741, allocations: 51.69 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01741, allocations: 3.938 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001613/0.01757, allocations: 104.2 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.01759, allocations: 4 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.0176, allocations: 0 / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.01761, allocations: 4 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.01772, allocations: 27.92 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01773, allocations: 0 / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.942e-05/0.01776, allocations: 7.938 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.01777, allocations: 4 kB / 381.8 MB, free: 14.95 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 8.664e-05/0.01785, allocations: 168.6 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.01789, allocations: 15.91 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.01813, allocations: 123.1 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.01813, allocations: 7.984 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.01814, allocations: 0 / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01814, allocations: 0 / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.01859, allocations: 432.9 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01859, allocations: 4 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.01866, allocations: 23.98 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01866, allocations: 7.969 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.01868, allocations: 11.88 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01868, allocations: 4 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01868, allocations: 0 / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.01888, allocations: 259.5 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.01889, allocations: 15.91 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.01891, allocations: 7.938 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/0.02198, allocations: 7.984 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.02202, allocations: 15.97 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.02203, allocations: 8 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.02213, allocations: 185.1 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02213, allocations: 0 / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002599/0.02239, allocations: 27.98 kB / 383.1 MB, free: 13.57 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.001105/0.0235, allocations: 434.1 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.02366, allocations: 63.59 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02366, allocations: 0 / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.538e-05/0.02372, allocations: 39.67 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.02402, allocations: 28.08 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.0245, allocations: 288.7 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.746e-05/0.02456, allocations: 71.33 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.856e-05/0.02463, allocations: 28.45 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.02467, allocations: 20.5 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.02467, allocations: 0 / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of Templates: time 0.006934/0.0316, allocations: 1.624 MB / 385.7 MB, free: 11.11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2655492189805955]