Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001777/0.001777, allocations: 92.31 kB / 20.96 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.002505/0.002505, allocations: 161.3 kB / 24.26 MB, free: 156 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.48/1.48, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3534/0.3534, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 375.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.513e-05, allocations: 6.25 kB / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003423/0.003458, allocations: 1.669 MB / 377 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.0054, allocations: 0.9547 MB / 378 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.005478, allocations: 3.938 kB / 378 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.005852, allocations: 67.67 kB / 378 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00039/0.006242, allocations: 107.6 kB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.006469, allocations: 79.59 kB / 378.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.006689, allocations: 107.6 kB / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.006733, allocations: 4.234 kB / 378.3 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.006865, allocations: 63.75 kB / 378.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.006978, allocations: 43.89 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.006998, allocations: 4 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.007104, allocations: 31.92 kB / 378.5 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.007168, allocations: 19.92 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.00722, allocations: 19.92 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.007443, allocations: 107.6 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.00745, allocations: 3.984 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.007451, allocations: 0 / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.007455, allocations: 0 / 378.6 MB, free: 1.621 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.0006259/0.008081, allocations: 333.6 kB / 378.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.008118, allocations: 8.031 kB / 378.9 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.008179, allocations: 12.89 kB / 379 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.00849, allocations: 158.2 kB / 379.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.008504, allocations: 384 / 379.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.008519, allocations: 8.375 kB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.008671, allocations: 54.22 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.008681, allocations: 7.875 kB / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.008695, allocations: 7.984 kB / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.0087, allocations: 0 / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.471e-05/0.008775, allocations: 12 kB / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.008991, allocations: 133.3 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.009165, allocations: 46.62 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.009226, allocations: 20.84 kB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.009243, allocations: 0 / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.009415, allocations: 75.33 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.009416, allocations: 0 / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003349/0.009751, allocations: 105.5 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.009805, allocations: 55.41 kB / 379.6 MB, free: 484 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.01005, allocations: 198.7 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.01008, allocations: 33.7 kB / 379.9 MB, free: 232 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.01016, allocations: 100.1 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.01019, allocations: 11.91 kB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.01024, allocations: 21.72 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.01045, allocations: 322.8 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.946e-05/0.01051, allocations: 23.92 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.535e-05/0.01058, allocations: 25.7 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.0107, allocations: 49.7 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.0107, allocations: 0 / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001925/0.01089, allocations: 81.58 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.01091, allocations: 8 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.01092, allocations: 3.938 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.01094, allocations: 3.938 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.01102, allocations: 16.02 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01103, allocations: 4 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.01108, allocations: 3.938 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.01109, 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.0001333/0.01122, allocations: 129.8 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.01125, allocations: 15.91 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.0115, allocations: 106.8 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.0115, allocations: 0 / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.0115, allocations: 0 / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.01151, allocations: 0 / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.01167, allocations: 133.3 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01167, allocations: 0 / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.621e-05/0.01169, allocations: 4 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.0117, allocations: 4 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.01171, allocations: 0 / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01171, allocations: 3.938 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01171, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.01195, allocations: 128.9 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.01198, allocations: 7.953 kB / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.012, allocations: 0 / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.01204, allocations: 11.94 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.01209, allocations: 3.984 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.01211, allocations: 4 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.01227, allocations: 148.2 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01227, allocations: 0 / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.0125, allocations: 23.94 kB / 381.2 MB, free: 14.75 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.001954/0.01446, allocations: 436.8 kB / 381.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.01464, allocations: 43.91 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01465, allocations: 4.062 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.01472, allocations: 16 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.01503, allocations: 39.81 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.0005861/0.01562, allocations: 208.5 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.01575, allocations: 97.38 kB / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.1e-05/0.0158, 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 3.971e-05/0.01584, allocations: 16.5 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01584, allocations: 0 / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of Templates: time 0.005425/0.02127, allocations: 1.638 MB / 383.7 MB, free: 12.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.689668728038669]