Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001428/0.001428, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001602/0.001602, allocations: 165 kB / 24.56 MB, free: 8 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.029/1.029, allocations: 177.1 MB / 205 MB, free: 5.289 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.2788/0.2788, allocations: 32.81 MB / 294.3 MB, free: 1.234 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/3.207e-05, allocations: 9.062 kB / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002688/0.00272, allocations: 1.766 MB / 377.9 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.004132, allocations: 1.005 MB / 378.9 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.004227, allocations: 4 kB / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.004549, allocations: 43.7 kB / 378.9 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.0049, allocations: 99.47 kB / 379 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.00511, allocations: 87.61 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.005269, allocations: 103.7 kB / 379.2 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.005378, allocations: 4 kB / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.005481, allocations: 63.75 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.87e-05/0.00556, allocations: 23.92 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.005577, allocations: 4 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.667e-05/0.005674, allocations: 43.92 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.005728, allocations: 27.91 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.005767, allocations: 19.88 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.005946, allocations: 103.6 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005949, allocations: 0 / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.005951, allocations: 4 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.005957, allocations: 0 / 379.5 MB, free: 1.168 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.0006479/0.006605, allocations: 455.8 kB / 379.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.006649, allocations: 8.031 kB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.006702, allocations: 12.89 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.006902, allocations: 164.8 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.006921, allocations: 384 / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.006948, allocations: 4.375 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.007103, allocations: 62.94 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.007116, allocations: 3.938 kB / 380.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.007126, allocations: 4 kB / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.007136, allocations: 0 / 380.2 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.291e-05/0.007178, allocations: 15.92 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.007551, allocations: 287.8 kB / 380.5 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.007676, allocations: 51.16 kB / 380.5 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.007724, allocations: 23.67 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.00774, allocations: 0 / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.007852, allocations: 72.92 kB / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.007854, allocations: 0 / 380.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004426/0.008296, allocations: 165.3 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.008334, allocations: 55.41 kB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.008488, allocations: 233.9 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.008522, allocations: 25.7 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.008605, allocations: 158.8 kB / 381.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.008639, allocations: 23.8 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.008678, allocations: 31.36 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.008809, allocations: 0.4962 MB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-05/0.008843, allocations: 15.98 kB / 381.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/0.008886, allocations: 31.38 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.379e-05/0.008959, allocations: 59.23 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.008963, allocations: 384 / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001428/0.009105, allocations: 85.58 kB / 382 MB, free: 14.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.009121, allocations: 4 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.009126, allocations: 0 / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.009144, allocations: 8 kB / 382 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.009265, allocations: 15.98 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.009275, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.009321, allocations: 11.95 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.009328, allocations: 4.031 kB / 382 MB, free: 14.39 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 7.905e-05/0.009407, allocations: 164.5 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.009427, allocations: 15.94 kB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.009611, allocations: 111.2 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.009613, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.009617, allocations: 3.984 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.009621, allocations: 0 / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.00995, allocations: 396.9 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.009953, allocations: 0 / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.009991, allocations: 19.97 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.009995, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01001, allocations: 7.984 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01001, allocations: 0 / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01001, allocations: 0 / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.01017, allocations: 255.4 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.01019, allocations: 11.91 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.01021, allocations: 8 kB / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.383e-05/0.01025, allocations: 0 / 383 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.01029, allocations: 7.984 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.01031, allocations: 8 kB / 383 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.01043, allocations: 184.1 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01043, allocations: 0 / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.01064, allocations: 27.94 kB / 383.2 MB, free: 13.11 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.001017/0.01165, allocations: 432.1 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.0118, allocations: 59.58 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01181, allocations: 0 / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.514e-05/0.01185, allocations: 31.61 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.01213, allocations: 37.41 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.01258, allocations: 229.9 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.18e-05/0.01264, allocations: 63.34 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.334e-05/0.01268, allocations: 17.27 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.01272, allocations: 16.5 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01272, allocations: 3.938 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Templates: time 0.004466/0.01719, allocations: 1.879 MB / 386 MB, free: 10.49 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.405603313818574]