Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001104/0.001104, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.001484/0.001484, allocations: 165.5 kB / 24.99 MB, free: 8.742 MB / 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2386/0.2386, allocations: 32.81 MB / 294.6 MB, free: 1.191 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 376.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.279e-05, allocations: 6.25 kB / 376.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002462/0.002495, allocations: 1.762 MB / 377.9 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003721, allocations: 1.001 MB / 378.9 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.691e-05/0.003817, allocations: 4 kB / 378.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.004157, allocations: 43.7 kB / 378.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.004472, allocations: 99.47 kB / 379 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.004654, allocations: 83.59 kB / 379.1 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.004813, allocations: 99.69 kB / 379.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.679e-05/0.0049, allocations: 11.94 kB / 379.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.004978, allocations: 55.83 kB / 379.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.005045, allocations: 31.91 kB / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.005061, allocations: 4 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.083e-05/0.005151, allocations: 47.91 kB / 379.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.005204, allocations: 23.86 kB / 379.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.00524, allocations: 15.94 kB / 379.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.00541, allocations: 99.66 kB / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005412, allocations: 0 / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005413, allocations: 0 / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.005417, allocations: 0 / 379.5 MB, free: 1.469 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.0004468/0.005864, allocations: 463.7 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.005898, allocations: 8.031 kB / 379.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.005949, allocations: 16.89 kB / 379.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.006118, allocations: 160.9 kB / 380.1 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.006136, allocations: 4.375 kB / 380.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.006155, allocations: 384 / 380.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.006272, allocations: 62.94 kB / 380.2 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.006283, allocations: 3.938 kB / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.006291, allocations: 0 / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.006298, allocations: 0 / 380.2 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.584e-05/0.006334, allocations: 19.92 kB / 380.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.006613, allocations: 287.8 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.006716, allocations: 59.16 kB / 380.5 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.006746, allocations: 19.62 kB / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.006757, allocations: 4 kB / 380.5 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.486e-05/0.006852, allocations: 68.98 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.006854, allocations: 0 / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003754/0.007229, allocations: 161.6 kB / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.007272, allocations: 51.41 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.007401, allocations: 233.9 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.007413, allocations: 33.7 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.007466, allocations: 158.8 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.00749, allocations: 19.8 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.007523, allocations: 35.36 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.007625, allocations: 0.4962 MB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.007648, allocations: 16 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.007683, allocations: 35.36 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.79e-05/0.007741, allocations: 55.23 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.007742, allocations: 0 / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.962e-05/0.007842, allocations: 93.56 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.007854, allocations: 9.875 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.007858, allocations: 0 / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.007871, allocations: 0 / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.007937, allocations: 19.98 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.007942, allocations: 4 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.007971, allocations: 3.953 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.007978, allocations: 4 kB / 382 MB, free: 14.68 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 6.946e-05/0.008047, allocations: 167.6 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.008063, allocations: 11.95 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.008201, allocations: 111.2 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.008203, allocations: 4 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.008206, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008209, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.008471, allocations: 400.9 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008473, allocations: 0 / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.008497, allocations: 15.94 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.008499, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.008506, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.008507, allocations: 0 / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.008508, allocations: 8.031 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.008646, allocations: 255.4 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.245e-05/0.008658, allocations: 15.89 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.008675, allocations: 4 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.032e-05/0.008715, allocations: 4 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.008746, allocations: 7.984 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.008756, allocations: 0 / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.944e-05/0.008836, allocations: 184.1 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008836, allocations: 0 / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.009013, allocations: 27.92 kB / 383.2 MB, free: 13.41 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.001021/0.01003, allocations: 438.6 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.01015, allocations: 55.59 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01015, allocations: 0 / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.158e-05/0.01019, allocations: 35.61 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.01042, allocations: 27.59 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.01075, allocations: 229.8 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.311e-05/0.01079, allocations: 75.45 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.44e-05/0.01083, allocations: 17.27 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.01086, allocations: 16.5 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01086, allocations: 0 / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of Templates: time 0.003354/0.01422, allocations: 1.873 MB / 386 MB, free: 10.78 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.2939571638125926]