Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001407/0.001407, allocations: 84.33 kB / 20.95 MB, free: 3.457 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.002333/0.002333, allocations: 157.7 kB / 24.27 MB, free: 152 kB / 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.521/1.521, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3725/0.3725, allocations: 32.79 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.322e-05/3.453e-05, allocations: 6.25 kB / 375.4 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003338/0.003373, allocations: 1.719 MB / 377.1 MB, free: 3.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.00535, allocations: 0.9664 MB / 378 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.005418, allocations: 4 kB / 378 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.005732, allocations: 39.7 kB / 378.1 MB, free: 2.148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004061/0.006139, allocations: 99.53 kB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.006368, allocations: 83.59 kB / 378.3 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.006575, allocations: 107.6 kB / 378.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.006664, allocations: 4 kB / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.006783, allocations: 55.83 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.63e-05/0.00687, allocations: 27.91 kB / 378.5 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.006906, allocations: 4 kB / 378.5 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.007014, allocations: 47.91 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.007077, allocations: 19.92 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.007129, allocations: 19.88 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.007376, allocations: 123.5 kB / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.007381, allocations: 4 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.007382, allocations: 0 / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.007386, allocations: 0 / 378.7 MB, free: 1.562 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.0006419/0.008028, allocations: 337.6 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.00807, allocations: 12.02 kB / 379 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.008139, allocations: 20.84 kB / 379 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.008451, allocations: 146.3 kB / 379.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.008466, allocations: 4.312 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.008498, allocations: 8.375 kB / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.008659, allocations: 54.23 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.008674, allocations: 3.938 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.00869, allocations: 8 kB / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.008699, allocations: 7.922 kB / 379.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.537e-05/0.008795, allocations: 19.98 kB / 379.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.009221, allocations: 236.5 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.009418, allocations: 54.61 kB / 379.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.043e-05/0.009489, allocations: 24.78 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.009507, allocations: 4 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/0.00984, allocations: 75.38 kB / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.009841, allocations: 0 / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006293/0.01047, allocations: 177.4 kB / 379.8 MB, free: 280 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.01052, allocations: 51.41 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.01081, allocations: 206.7 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.01084, allocations: 29.7 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/0.01092, allocations: 107.9 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.01096, allocations: 27.78 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.01101, allocations: 25.66 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.0112, allocations: 330.8 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.01127, allocations: 19.98 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.193e-05/0.01135, allocations: 37.7 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.0115, allocations: 61.64 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.0115, allocations: 0 / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002449/0.01174, allocations: 113.5 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.01176, allocations: 4 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01176, allocations: 0 / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.01178, allocations: 32 / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.01188, allocations: 24.31 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.01188, allocations: 0 / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.01194, allocations: 11.98 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.01195, allocations: 4 kB / 380.9 MB, free: 15.17 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.0001228/0.01207, allocations: 121.8 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.01211, allocations: 19.91 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.01241, allocations: 131.2 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01241, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01241, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.01242, allocations: 4 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.01296, allocations: 354.9 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01296, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.013, allocations: 11.94 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.013, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.01302, allocations: 4 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01302, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01302, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.01333, allocations: 220.2 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.01336, allocations: 11.91 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.01338, allocations: 8.031 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.01346, allocations: 4 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.01352, allocations: 7.984 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.01354, allocations: 4 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001664/0.0137, allocations: 160.1 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0137, allocations: 0 / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.014, allocations: 27.92 kB / 381.9 MB, free: 14.04 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.002296/0.01629, allocations: 497.1 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.01652, allocations: 63.84 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01652, allocations: 0 / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.492e-05/0.0166, allocations: 27.98 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.01699, allocations: 27.92 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005475/0.01753, allocations: 241.7 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.01764, allocations: 92.3 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.992e-05/0.0177, allocations: 25.25 kB / 382.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.01775, allocations: 16.5 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01775, allocations: 0 / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of Templates: time 0.00599/0.02374, allocations: 1.873 MB / 384.8 MB, free: 11.38 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.816599395009689]