Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.0007471/0.0007471, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0007561/0.0007561, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8649/0.8649, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1326/0.1326, allocations: 32.38 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.721e-05, allocations: 10.22 kB / 408.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002458/0.002485, allocations: 1.676 MB / 409.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009856/0.003471, allocations: 0.784 MB / 410.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.243e-05/0.003543, allocations: 0 / 410.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.003842, allocations: 47.81 kB / 410.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.004051, allocations: 67.64 kB / 410.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.004277, allocations: 83.69 kB / 410.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.00443, allocations: 99.69 kB / 410.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.354e-05/0.004514, allocations: 8.172 kB / 410.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.806e-05/0.004592, allocations: 51.83 kB / 411 MB, free: 10.1 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.004659, allocations: 23.92 kB / 411 MB, free: 10.08 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.004676, allocations: 4 kB / 411 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.988e-05/0.004756, allocations: 43.91 kB / 411.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.004812, allocations: 35.84 kB / 411.1 MB, free: 9.996 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.004848, allocations: 15.94 kB / 411.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.005031, allocations: 135.5 kB / 411.3 MB, free: 9.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.005033, allocations: 0 / 411.3 MB, free: 9.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.005034, allocations: 4 kB / 411.3 MB, free: 9.844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.005039, allocations: 0 / 411.3 MB, free: 9.844 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.0004268/0.005466, allocations: 369.2 kB / 411.6 MB, free: 9.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.005501, allocations: 12.03 kB / 411.6 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.005538, allocations: 12.84 kB / 411.6 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.005729, allocations: 161.3 kB / 411.8 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.005739, allocations: 384 / 411.8 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.005757, allocations: 8.359 kB / 411.8 MB, free: 9.238 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.005872, allocations: 58.23 kB / 411.9 MB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.005882, allocations: 3.938 kB / 411.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.00589, allocations: 0 / 411.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.005894, allocations: 0 / 411.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.586e-05/0.00595, allocations: 27.92 kB / 411.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.006234, allocations: 240.6 kB / 412.1 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.006347, allocations: 58.61 kB / 412.2 MB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.006384, allocations: 28.77 kB / 412.2 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.006397, allocations: 0 / 412.2 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.006504, allocations: 75.33 kB / 412.3 MB, free: 8.695 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.006505, allocations: 0 / 412.3 MB, free: 8.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003939/0.006899, allocations: 193.2 kB / 412.5 MB, free: 8.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.006932, allocations: 51.41 kB / 412.5 MB, free: 8.438 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.007098, allocations: 263.7 kB / 412.8 MB, free: 8.168 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.00711, allocations: 25.7 kB / 412.8 MB, free: 8.137 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.007161, allocations: 112.1 kB / 412.9 MB, free: 8.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.007187, allocations: 23.84 kB / 412.9 MB, free: 8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.007217, allocations: 17.72 kB / 413 MB, free: 7.977 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.007301, allocations: 334.8 kB / 413.3 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.017e-05/0.007341, allocations: 20 kB / 413.3 MB, free: 7.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.007382, allocations: 33.7 kB / 413.3 MB, free: 7.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.677e-05/0.007459, allocations: 73.56 kB / 413.4 MB, free: 7.504 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.00746, allocations: 0 / 413.4 MB, free: 7.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001269/0.007587, allocations: 105.6 kB / 413.5 MB, free: 7.395 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.0076, allocations: 8 kB / 413.5 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.007604, allocations: 0 / 413.5 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.007615, allocations: 0 / 413.5 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.007682, allocations: 23.95 kB / 413.5 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.007687, allocations: 4 kB / 413.6 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.007716, allocations: 0 / 413.6 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.007723, allocations: 8.188 kB / 413.6 MB, free: 7.352 MB / 346.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.441e-05/0.007807, allocations: 137.7 kB / 413.7 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.00782, allocations: 15.84 kB / 413.7 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.007996, allocations: 131.2 kB / 413.8 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.008, allocations: 7.984 kB / 413.8 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.008005, allocations: 0 / 413.8 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.008008, allocations: 0 / 413.8 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.008304, allocations: 358.9 kB / 414.2 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.008308, allocations: 4.375 kB / 414.2 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.008334, allocations: 12 kB / 414.2 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.008337, allocations: 0 / 414.2 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.008345, allocations: 4 kB / 414.2 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.008347, allocations: 7.938 kB / 414.2 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.00835, allocations: 3.938 kB / 414.2 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.008494, allocations: 216.2 kB / 414.4 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.008507, allocations: 11.91 kB / 414.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.008524, allocations: 11.97 kB / 414.5 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.008564, allocations: 4 kB / 414.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.008594, allocations: 7.984 kB / 414.5 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.008607, allocations: 4 kB / 414.5 MB, free: 6.363 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.008724, allocations: 207.2 kB / 414.7 MB, free: 6.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008724, allocations: 0 / 414.7 MB, free: 6.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001837/0.008908, allocations: 24 kB / 414.7 MB, free: 6.137 MB / 346.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.0007479/0.009656, allocations: 499.3 kB / 415.2 MB, free: 5.699 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.009797, allocations: 55.92 kB / 415.2 MB, free: 5.645 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.009799, allocations: 0 / 415.2 MB, free: 5.645 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.009845, allocations: 35.92 kB / 415.3 MB, free: 5.609 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.01008, allocations: 31.69 kB / 415.3 MB, free: 5.578 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.01048, allocations: 316.9 kB / 415.6 MB, free: 5.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.334e-05/0.01056, allocations: 105.8 kB / 415.7 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.01059, allocations: 20.48 kB / 415.7 MB, free: 5.082 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01059, allocations: 0 / 415.7 MB, free: 5.082 MB / 346.7 MB Notification: Performance of Templates: time 0.002691/0.01328, allocations: 2.121 MB / 417.9 MB, free: 2.961 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.355707040987909]