Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.001858/0.001858, allocations: 83.67 kB / 20.96 MB, free: 3.32 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.001968/0.001968, allocations: 161.3 kB / 24.27 MB, free: 12 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.59/1.59, allocations: 177.2 MB / 204.6 MB, free: 5.602 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.3711/0.3711, allocations: 32.81 MB / 293.9 MB, free: 1.16 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 375.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.745e-05, allocations: 5.547 kB / 375.4 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003568/0.003595, allocations: 1.739 MB / 377.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.00561, allocations: 0.9938 MB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.005681, allocations: 0 / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.005987, allocations: 43.7 kB / 378.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.006327, allocations: 91.47 kB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.006559, allocations: 83.61 kB / 378.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.006758, allocations: 103.7 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.006856, allocations: 4 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.00699, allocations: 63.75 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.173e-05/0.007082, allocations: 23.92 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.007106, allocations: 4 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.007226, allocations: 47.92 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.97e-05/0.007296, allocations: 19.91 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.007346, allocations: 15.94 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.007618, allocations: 123.5 kB / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.007622, allocations: 0 / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.007623, allocations: 0 / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.007629, allocations: 0 / 378.7 MB, free: 1.523 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006834/0.008312, allocations: 435.6 kB / 379.1 MB, free: 1.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.00835, allocations: 8.031 kB / 379.1 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.008414, allocations: 16.83 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.008663, allocations: 155.3 kB / 379.3 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.008676, allocations: 4.375 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.008697, allocations: 384 / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.008861, allocations: 62.17 kB / 379.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.008875, allocations: 3.938 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.008885, allocations: 0 / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.008889, allocations: 0 / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/0.008964, allocations: 15.98 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.009429, allocations: 287.8 kB / 379.7 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.009622, allocations: 67.09 kB / 379.7 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.009687, allocations: 27.62 kB / 379.8 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.009703, allocations: 4 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.009878, allocations: 73.03 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.009879, allocations: 0 / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006034/0.01048, allocations: 173.4 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.01053, allocations: 51.41 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.01078, allocations: 234.5 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.0108, allocations: 29.64 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.01092, allocations: 154.8 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.01097, allocations: 31.77 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.01103, allocations: 35.38 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002828/0.01131, allocations: 0.4962 MB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.01137, allocations: 23.92 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.113e-05/0.01145, allocations: 43.36 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.01158, allocations: 63.31 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01158, allocations: 0 / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002135/0.01179, allocations: 109.5 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.01181, allocations: 4 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01181, allocations: 0 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.01183, allocations: 32 / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.01193, allocations: 24.36 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.01194, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.01199, allocations: 4 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.012, allocations: 8 kB / 381.3 MB, free: 14.7 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 (10): * Single equations (assignments): 10 * 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.0001458/0.01214, allocations: 172.4 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.01217, allocations: 11.95 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.01245, allocations: 122.5 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01245, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.01245, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.01246, allocations: 7.984 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.01302, allocations: 409 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01302, allocations: 0 / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.01306, allocations: 8 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01307, allocations: 0 / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.01308, allocations: 8 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01309, allocations: 0 / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.01309, allocations: 3.984 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.01342, allocations: 271.4 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.01345, allocations: 11.95 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.01347, allocations: 0 / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.01354, allocations: 8.031 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.01358, allocations: 3.984 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.01359, allocations: 8 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.01375, allocations: 179.8 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01375, allocations: 0 / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.014, allocations: 31.92 kB / 382.5 MB, free: 13.38 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: 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 (9): * Single equations (assignments): 7 * 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.003305/0.01731, allocations: 487.1 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.01754, allocations: 75.53 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01755, allocations: 0 / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.404e-05/0.01764, allocations: 39.67 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.01803, allocations: 27.81 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.01853, allocations: 226.3 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.01863, allocations: 93.56 kB / 383.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.677e-05/0.0187, allocations: 25.27 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.01874, allocations: 16.5 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01874, allocations: 4 kB / 383.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of Templates: time 0.02034/0.03908, allocations: 1.859 MB / 385.4 MB, free: 10.72 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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: 5.286791960010305]