Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001567/0.001567, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001363/0.001363, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.393/1.393, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 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.1935/0.1935, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 440.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.701e-05, allocations: 6.281 kB / 440.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002987/0.003014, allocations: 1.714 MB / 441.9 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002985/0.005999, allocations: 1.66 MB / 443.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.708e-05/0.006076, allocations: 7.938 kB / 443.6 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.006332, allocations: 35.77 kB / 443.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.006684, allocations: 103.4 kB / 443.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.006878, allocations: 75.66 kB / 443.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.007063, allocations: 111.6 kB / 443.9 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.58e-05/0.007149, allocations: 8 kB / 443.9 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.007271, allocations: 59.81 kB / 443.9 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.007407, allocations: 39.89 kB / 444 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.007432, allocations: 4 kB / 444 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.007626, allocations: 111.7 kB / 444.1 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.00769, allocations: 19.92 kB / 444.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.007737, allocations: 15.94 kB / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.008057, allocations: 179.5 kB / 444.3 MB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.00806, allocations: 7.938 kB / 444.3 MB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.008061, allocations: 0 / 444.3 MB, free: 3.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.008066, allocations: 0 / 444.3 MB, free: 3.922 MB / 366.1 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.0006869/0.008753, allocations: 353.4 kB / 444.7 MB, free: 3.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001067/0.00886, allocations: 12.03 kB / 444.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.008917, allocations: 12.88 kB / 444.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.009174, allocations: 146.1 kB / 444.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.009188, allocations: 4.375 kB / 444.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.009212, allocations: 4.328 kB / 444.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.009421, allocations: 101 kB / 444.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.009432, allocations: 0 / 444.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.009446, allocations: 7.984 kB / 444.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.009452, allocations: 3.984 kB / 444.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.00953, allocations: 23.98 kB / 445 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.009884, allocations: 232.5 kB / 445.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.01006, allocations: 54.69 kB / 445.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.985e-05/0.01012, allocations: 20.84 kB / 445.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.01014, allocations: 0 / 445.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.01032, allocations: 75.33 kB / 445.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.01032, allocations: 0 / 445.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005796/0.0109, allocations: 181.4 kB / 445.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.01098, allocations: 81.05 kB / 445.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.01118, allocations: 173.5 kB / 445.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.0112, allocations: 29.7 kB / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.01127, allocations: 100.1 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.0113, allocations: 19.86 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.0114, allocations: 21.72 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.01161, allocations: 322.8 kB / 446.3 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-05/0.01167, allocations: 27.98 kB / 446.3 MB, free: 1.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.959e-05/0.01176, allocations: 68.27 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.0119, allocations: 73.69 kB / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.0119, allocations: 0 / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002012/0.0121, allocations: 101.6 kB / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.01211, allocations: 4 kB / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.01212, allocations: 0 / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.01213, allocations: 0 / 446.5 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.01223, allocations: 32.55 kB / 446.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.01223, allocations: 0 / 446.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.01228, allocations: 7.938 kB / 446.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.01229, allocations: 4 kB / 446.6 MB, free: 1.461 MB / 366.1 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.0001156/0.01241, allocations: 122.4 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.01244, allocations: 11.95 kB / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.0128, allocations: 122.4 kB / 446.8 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.0128, allocations: 4 kB / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.0128, allocations: 0 / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01281, allocations: 0 / 446.8 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.01328, allocations: 366.8 kB / 447.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01328, allocations: 0 / 447.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.01332, allocations: 8 kB / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.01333, allocations: 0 / 447.2 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01334, allocations: 4 kB / 447.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01334, allocations: 0 / 447.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01334, allocations: 0 / 447.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.01362, allocations: 216.2 kB / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.01364, allocations: 11.95 kB / 447.4 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.01366, allocations: 4.031 kB / 447.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.01375, allocations: 11.92 kB / 447.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.01379, allocations: 15.88 kB / 447.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.0138, allocations: 7.984 kB / 447.5 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.01394, allocations: 130.2 kB / 447.6 MB, free: 380 kB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01394, allocations: 0 / 447.6 MB, free: 380 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.01424, allocations: 47.86 kB / 447.6 MB, free: 332 kB / 366.1 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.1669/0.1811, allocations: 0.5899 MB / 448.2 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.1814, allocations: 54.61 kB / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1814, allocations: 0 / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.1814, allocations: 35.64 kB / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1818, allocations: 27.55 kB / 448.3 MB, free: 21.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.1822, allocations: 205.7 kB / 448.5 MB, free: 21.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.943e-05/0.1823, allocations: 85.33 kB / 448.6 MB, free: 21.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.745e-05/0.1823, allocations: 27.72 kB / 448.6 MB, free: 21.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.1824, allocations: 20.52 kB / 448.7 MB, free: 21.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1824, allocations: 1.312 kB / 448.7 MB, free: 21.23 MB / 366.1 MB Notification: Performance of Templates: time 0.005651/0.188, allocations: 2.52 MB / 451.2 MB, free: 21.04 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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: 4.6402179673314095]