Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.002021/0.002021, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002185/0.002185, allocations: 169.3 kB / 24.28 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.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3743/0.3743, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.346e-05/3.516e-05, allocations: 6.312 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003776/0.003811, allocations: 1.606 MB / 376.9 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.005101, allocations: 0.5375 MB / 377.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.213e-05/0.005163, allocations: 8 kB / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.005395, allocations: 19.84 kB / 377.4 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.005712, allocations: 79.56 kB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.00603, allocations: 107.7 kB / 377.6 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.006203, allocations: 71.7 kB / 377.7 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.006309, allocations: 15.98 kB / 377.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.006387, allocations: 23.92 kB / 377.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.006452, allocations: 15.97 kB / 377.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.006475, allocations: 8 kB / 377.8 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.96e-05/0.006575, allocations: 35.88 kB / 377.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.725e-05/0.006632, allocations: 11.98 kB / 377.8 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.006665, allocations: 7.938 kB / 377.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.00687, allocations: 91.64 kB / 377.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.006872, allocations: 0 / 377.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.006874, allocations: 0 / 377.9 MB, free: 2.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.00688, allocations: 0 / 377.9 MB, free: 2.316 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.0006747/0.007555, allocations: 415.8 kB / 378.3 MB, free: 1.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.007596, allocations: 8.031 kB / 378.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.007652, allocations: 8.891 kB / 378.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.007868, allocations: 140.4 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.007883, allocations: 4.375 kB / 378.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.007906, allocations: 4.375 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.008053, allocations: 50.19 kB / 378.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.008067, allocations: 192 / 378.5 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.00808, allocations: 4.125 kB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.008085, allocations: 0 / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.763e-05/0.008173, allocations: 19.98 kB / 378.5 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.008653, allocations: 279.8 kB / 378.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.008902, allocations: 54.98 kB / 378.9 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.008967, allocations: 23.75 kB / 378.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.008989, allocations: 3.938 kB / 378.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.009023, allocations: 33.39 kB / 378.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.009024, allocations: 4 kB / 378.9 MB, free: 1.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005813/0.009605, allocations: 129.3 kB / 379.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.009656, allocations: 55.41 kB / 379.1 MB, free: 0.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.009868, allocations: 201.9 kB / 379.3 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.009896, allocations: 33.7 kB / 379.3 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.01, allocations: 146.9 kB / 379.5 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.01002, allocations: 7.906 kB / 379.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.01007, allocations: 27.38 kB / 379.5 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002987/0.01037, allocations: 0.4962 MB / 380 MB, free: 4 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/0.01082, allocations: 12.05 kB / 380 MB, free: 15.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.49e-05/0.01086, allocations: 11.94 kB / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.01098, allocations: 43.61 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.01098, allocations: 0 / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001756/0.01115, allocations: 81.56 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.01117, allocations: 4 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01117, allocations: 0 / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.01119, allocations: 7.938 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.01126, allocations: 11.98 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01126, allocations: 0 / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.01131, allocations: 7.891 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.01132, allocations: 4 kB / 380.2 MB, free: 15.81 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.0001272/0.01144, allocations: 164.5 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.01148, allocations: 12.14 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.01171, allocations: 86.12 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.01172, allocations: 4 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01173, allocations: 0 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01173, allocations: 0 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.0122, allocations: 345.3 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01221, allocations: 0 / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.01227, allocations: 11.98 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.01227, allocations: 0 / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.01228, allocations: 0 / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.01228, allocations: 4 kB / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01228, allocations: 0 / 380.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.01256, allocations: 227.8 kB / 381 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.01257, allocations: 7.953 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.01259, allocations: 0 / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-05/0.01264, allocations: 3.938 kB / 381 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.01269, allocations: 7.984 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.01269, allocations: 0 / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.01283, allocations: 157.8 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01283, allocations: 0 / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.01306, allocations: 19.98 kB / 381.2 MB, free: 14.71 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.002917/0.01598, allocations: 441.5 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.01619, allocations: 43.67 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01619, allocations: 0 / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.01627, allocations: 35.61 kB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.01659, allocations: 19.92 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.01707, allocations: 186.5 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.01718, allocations: 79.31 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.445e-05/0.01724, allocations: 15.97 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.01727, allocations: 12.5 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01727, allocations: 0 / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Templates: time 0.004623/0.0219, allocations: 1.183 MB / 383.2 MB, free: 12.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.904135953052901]