Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001865/0.001865, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001582/0.001582, allocations: 161.7 kB / 24.26 MB, free: 176 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.632/1.632, allocations: 177.2 MB / 204.6 MB, free: 5.582 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.3361/0.3361, allocations: 32.8 MB / 293.9 MB, free: 1.207 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.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.14e-05, allocations: 6.25 kB / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003547/0.003578, allocations: 1.672 MB / 377 MB, free: 3.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.005631, allocations: 0.9626 MB / 378 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.005734, allocations: 3.938 kB / 378 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.006108, allocations: 59.73 kB / 378 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.006513, allocations: 107.5 kB / 378.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.006803, allocations: 79.61 kB / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.00704, allocations: 111.6 kB / 378.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.007077, allocations: 4.234 kB / 378.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.007215, allocations: 63.75 kB / 378.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.007328, allocations: 39.91 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.007347, allocations: 0 / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.007456, allocations: 43.91 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.007517, allocations: 15.92 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.757e-05/0.007584, allocations: 15.94 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.00782, allocations: 99.69 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007824, allocations: 7.938 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007825, allocations: 0 / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.007829, allocations: 4 kB / 378.6 MB, free: 1.617 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000752/0.008581, allocations: 341.6 kB / 379 MB, free: 1.254 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.00862, allocations: 8.031 kB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.008684, allocations: 12.89 kB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.009003, allocations: 154.2 kB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.009018, allocations: 384 / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.009033, allocations: 8.375 kB / 379.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.009189, allocations: 50.23 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.009199, allocations: 3.938 kB / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.009209, allocations: 0 / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.009214, allocations: 4 kB / 379.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.121e-05/0.009295, allocations: 23.92 kB / 379.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.009513, allocations: 125.3 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.009696, allocations: 50.61 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/0.009761, allocations: 20.84 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.009777, allocations: 4 kB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.009944, allocations: 67.33 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.009945, allocations: 0 / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003293/0.01027, allocations: 109.5 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.01033, allocations: 55.39 kB / 379.6 MB, free: 480 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.01058, allocations: 202.7 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.01061, allocations: 25.7 kB / 379.9 MB, free: 232 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.01069, allocations: 104.1 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.01072, allocations: 11.89 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.01077, allocations: 21.72 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.01097, allocations: 322.8 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.01104, allocations: 19.98 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/0.0111, allocations: 29.64 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.01122, allocations: 45.72 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01122, allocations: 0 / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002139/0.01144, allocations: 89.56 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.01145, allocations: 8 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.01146, allocations: 3.938 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.01148, allocations: 3.938 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.01157, allocations: 8 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.01158, allocations: 3.984 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.01163, allocations: 11.97 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.01164, allocations: 4.312 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001217/0.01176, allocations: 117.8 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.01179, allocations: 23.83 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.01204, allocations: 98.77 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.01205, allocations: 7.984 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.01205, allocations: 0 / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.01206, allocations: 0 / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.01223, allocations: 137.3 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01223, allocations: 0 / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.265e-05/0.01226, allocations: 8 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01227, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.01228, allocations: 4 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.01228, allocations: 3.938 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01228, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.01253, allocations: 121 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.01255, allocations: 7.953 kB / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.01257, allocations: 7.984 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.01262, allocations: 3.938 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.01266, allocations: 4 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.01267, allocations: 11.98 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001622/0.01284, allocations: 148.2 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01284, allocations: 0 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.01307, allocations: 23.94 kB / 381.2 MB, free: 14.74 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00203/0.0151, allocations: 422.8 kB / 381.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.0153, allocations: 47.92 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.0153, allocations: 0 / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.01538, allocations: 19.98 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.01569, allocations: 39.39 kB / 381.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.01622, allocations: 212.6 kB / 382 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.01634, allocations: 93.31 kB / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.841e-05/0.01639, allocations: 16.47 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.01644, allocations: 16.5 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01644, allocations: 0 / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of Templates: time 0.005681/0.02212, allocations: 1.629 MB / 383.7 MB, free: 12.42 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.058951655984856]