Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.0009408/0.0009408, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.0009743/0.0009743, allocations: 162.1 kB / 24.99 MB, free: 9.289 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.075/1.075, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2878/0.2878, allocations: 32.8 MB / 294.6 MB, free: 1.188 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.167e-06/4.167e-06, allocations: 3.984 kB / 376.1 MB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.664e-05/4.081e-05, allocations: 6.312 kB / 376.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.004388/0.004429, allocations: 1.766 MB / 377.9 MB, free: 3.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.006461, allocations: 1.001 MB / 378.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.006598, allocations: 0 / 378.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.007096, allocations: 51.69 kB / 378.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.007643, allocations: 99.53 kB / 379 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.007954, allocations: 79.61 kB / 379.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.008196, allocations: 115.6 kB / 379.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.008327, allocations: 4 kB / 379.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.008466, allocations: 55.77 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.008567, allocations: 27.91 kB / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.008591, allocations: 4 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.008717, allocations: 43.92 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.96e-05/0.008807, allocations: 27.92 kB / 379.4 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.008872, allocations: 27.84 kB / 379.4 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.009185, allocations: 99.66 kB / 379.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.009191, allocations: 4 kB / 379.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.009193, allocations: 0 / 379.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.0092, allocations: 0 / 379.5 MB, free: 1.453 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.0007821/0.009982, allocations: 467.6 kB / 379.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.01004, allocations: 8.031 kB / 379.9 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.907e-05/0.01013, allocations: 16.84 kB / 380 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.01044, allocations: 157.2 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.01046, allocations: 4.375 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.0105, allocations: 4.359 kB / 380.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.01071, allocations: 62.94 kB / 380.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.01073, allocations: 7.938 kB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.01074, allocations: 0 / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.01076, allocations: 4 kB / 380.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.616e-05/0.01083, allocations: 15.92 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.01137, allocations: 291.8 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.01155, allocations: 51.17 kB / 380.6 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.0116, allocations: 19.62 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.01162, allocations: 3.938 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.0118, allocations: 65.05 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.394e-06/0.0118, allocations: 4 kB / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006714/0.01248, allocations: 169.3 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.01253, allocations: 55.41 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.01278, allocations: 255.1 kB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.0128, allocations: 29.7 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.0129, allocations: 158.9 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.01295, allocations: 31.77 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.013, allocations: 23.38 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.01319, allocations: 0.5001 MB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.01324, allocations: 15.98 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.01329, allocations: 35.36 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.771e-05/0.01339, allocations: 55.25 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01339, allocations: 0 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002097/0.0136, allocations: 93.52 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.01363, allocations: 4 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.01364, allocations: 4 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.01367, allocations: 3.984 kB / 382.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.01381, allocations: 15.94 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.01382, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.01389, allocations: 16.02 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.0139, allocations: 4 kB / 382.1 MB, free: 14.62 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.00012/0.01402, allocations: 160.5 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.01406, allocations: 19.84 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.01431, allocations: 107.3 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.01431, allocations: 4 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.01432, allocations: 0 / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.01432, allocations: 0 / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.01481, allocations: 404.9 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.01481, allocations: 4.031 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.01488, allocations: 11.94 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01489, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.0149, allocations: 4 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.0149, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01491, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.01517, allocations: 263.4 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.0152, allocations: 15.89 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.01523, allocations: 4 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.01531, allocations: 0 / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.01537, allocations: 15.98 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.01539, allocations: 4.375 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.01554, allocations: 187.1 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01554, allocations: 0 / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.01587, allocations: 23.94 kB / 383.3 MB, free: 13.33 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.001721/0.01759, allocations: 437.4 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.01781, allocations: 59.59 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.01781, allocations: 0 / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.01789, allocations: 43.59 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.0183, allocations: 27.98 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006375/0.01893, allocations: 241.5 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.313e-05/0.019, allocations: 75.27 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.71e-05/0.01904, allocations: 13.28 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.01909, allocations: 20.48 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.713e-06/0.01909, allocations: 0 / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of Templates: time 0.004725/0.02382, allocations: 1.89 MB / 386.1 MB, free: 10.67 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.403031436027959]