Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001477/0.001477, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.0009168/0.0009168, allocations: 165.9 kB / 24.99 MB, free: 8.793 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.025/1.025, 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.276/0.276, allocations: 32.8 MB / 294.6 MB, free: 1.273 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.897e-05, allocations: 5.688 kB / 376.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.006587/0.006616, allocations: 1.774 MB / 377.9 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.008098, allocations: 1.005 MB / 378.9 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.008177, allocations: 0 / 378.9 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.008449, allocations: 51.69 kB / 378.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000293/0.008742, allocations: 99.48 kB / 379 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.01029, allocations: 75.66 kB / 379.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.01048, allocations: 119.6 kB / 379.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.676e-05/0.01056, allocations: 4 kB / 379.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.873e-05/0.01065, allocations: 47.84 kB / 379.2 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.01072, allocations: 31.89 kB / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.01074, allocations: 4 kB / 379.3 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.822e-05/0.01084, allocations: 47.86 kB / 379.3 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.0109, allocations: 31.86 kB / 379.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.01094, allocations: 19.92 kB / 379.4 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.01114, allocations: 99.66 kB / 379.5 MB, free: 1.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.01114, allocations: 3.984 kB / 379.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01114, allocations: 0 / 379.5 MB, free: 1.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.01115, allocations: 7.938 kB / 379.5 MB, free: 1.492 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.0004524/0.0116, allocations: 459.8 kB / 379.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.01163, allocations: 8.031 kB / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.01168, allocations: 20.84 kB / 380 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.01283, allocations: 157.2 kB / 380.1 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.01285, allocations: 4.375 kB / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.01287, allocations: 384 / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.01301, allocations: 62.94 kB / 380.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.01302, allocations: 3.938 kB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.01303, allocations: 0 / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.01304, allocations: 8 kB / 380.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/0.01308, allocations: 11.98 kB / 380.2 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.01342, allocations: 295.7 kB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.01354, allocations: 51.17 kB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.01357, allocations: 23.61 kB / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.01358, allocations: 0 / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002267/0.01585, allocations: 68.98 kB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.01585, allocations: 0 / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004596/0.01631, allocations: 169.3 kB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.01636, allocations: 55.41 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.01654, allocations: 259.1 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.01656, allocations: 29.7 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.01663, allocations: 158.9 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.01666, allocations: 27.78 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.0167, allocations: 27.36 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.01684, allocations: 0.504 MB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/0.01687, allocations: 12 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.219e-05/0.01691, allocations: 31.36 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.359e-05/0.01698, allocations: 63.23 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01698, allocations: 0 / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001342/0.01712, allocations: 85.59 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01713, allocations: 4 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01714, allocations: 4 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.01715, allocations: 3.984 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.743e-05/0.01724, allocations: 19.92 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01725, allocations: 0 / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/0.01728, allocations: 8 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.01729, allocations: 8.031 kB / 382.1 MB, free: 14.66 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 8.091e-05/0.01737, allocations: 160.5 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.0174, allocations: 19.89 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.01758, allocations: 107.2 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01758, allocations: 0 / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01758, allocations: 4 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01759, allocations: 3.984 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.01794, allocations: 400.9 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01794, allocations: 0 / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.01797, allocations: 12.02 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01798, allocations: 4 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.01798, allocations: 4 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.01799, allocations: 0 / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01799, allocations: 3.938 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.01816, allocations: 263.4 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.01818, allocations: 11.91 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.0182, allocations: 4 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.18e-05/0.01826, allocations: 0 / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.0183, allocations: 11.98 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.01832, allocations: 4.375 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.01842, allocations: 191.1 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01842, allocations: 0 / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002488/0.02091, allocations: 27.92 kB / 383.3 MB, free: 13.37 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.001158/0.02207, allocations: 435.9 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.02221, allocations: 55.61 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.02222, allocations: 0 / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.018e-05/0.02227, allocations: 35.59 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.0226, allocations: 36.09 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.02314, allocations: 233.6 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.663e-05/0.0232, allocations: 75.27 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.429e-05/0.02326, allocations: 17.27 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.0233, allocations: 16.5 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.0233, allocations: 0 / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of Templates: time 0.004379/0.02768, allocations: 1.893 MB / 386.1 MB, free: 10.72 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.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.3766057519242167]