Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.001868/0.001868, allocations: 75.28 kB / 19.93 MB, free: 1.781 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.002257/0.002257, allocations: 165.6 kB / 23.21 MB, free: 4.906 MB / 14.72 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 1.566/1.566, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.2465/0.2465, allocations: 32.38 MB / 269.6 MB, free: 4.664 MB / 254.1 MB " [Timeout remaining time 179] 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 0 / 407.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.192e-05/5.491e-05, allocations: 2.281 kB / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.005316/0.005371, allocations: 1.746 MB / 409.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.007593, allocations: 0.8542 MB / 410 MB, free: 328 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.007799, allocations: 0 / 410 MB, free: 328 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007973/0.008596, allocations: 299.1 kB / 410.3 MB, free: 28 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007241/0.00932, allocations: 211.3 kB / 410.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006053/0.009926, allocations: 151.5 kB / 410.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000653/0.01058, allocations: 247.2 kB / 410.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.353e-05/0.01066, allocations: 9.812 kB / 410.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000436/0.0111, allocations: 151.6 kB / 411.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004656/0.01156, allocations: 196.1 kB / 411.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.01161, allocations: 4 kB / 411.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.01183, allocations: 47.97 kB / 411.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.01211, allocations: 132.5 kB / 411.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.01228, allocations: 71.66 kB / 411.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007451/0.01302, allocations: 346.7 kB / 411.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.01303, allocations: 0 / 411.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.01303, allocations: 4 kB / 411.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.01305, allocations: 0 / 411.9 MB, free: 14.49 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001435/0.01448, allocations: 0.6514 MB / 412.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.01454, allocations: 15.97 kB / 412.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.01465, allocations: 48.61 kB / 412.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.01538, allocations: 377.8 kB / 412.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.0154, allocations: 4.359 kB / 413 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.01542, allocations: 8.375 kB / 413 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.01568, allocations: 91.86 kB / 413.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.01569, allocations: 7.938 kB / 413.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.01571, allocations: 3.938 kB / 413.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.01572, allocations: 0 / 413.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.01585, allocations: 31.98 kB / 413.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.01629, allocations: 298 kB / 413.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.01662, allocations: 105.2 kB / 413.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.01673, allocations: 41.7 kB / 413.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.01675, allocations: 0 / 413.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.01704, allocations: 121 kB / 413.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.01704, allocations: 0 / 413.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005676/0.01761, allocations: 209.2 kB / 413.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/0.01769, allocations: 81.11 kB / 413.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.01898, allocations: 1.015 MB / 414.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.019, allocations: 25.7 kB / 415 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.01923, allocations: 232.1 kB / 415.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.01928, allocations: 35.77 kB / 415.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.01933, allocations: 25.72 kB / 415.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002558/0.01959, allocations: 366.8 kB / 415.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.669e-05/0.01969, allocations: 27.98 kB / 415.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.01981, allocations: 67.09 kB / 415.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.02003, allocations: 91.41 kB / 415.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.02003, allocations: 0 / 415.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003407/0.02037, allocations: 185.2 kB / 416 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.02039, allocations: 4 kB / 416 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.0204, allocations: 3.938 kB / 416 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.02042, allocations: 4 kB / 416 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.02056, allocations: 19.98 kB / 416 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.02057, allocations: 4 kB / 416 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.502e-05/0.02067, allocations: 8.625 kB / 416 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.02068, allocations: 7.938 kB / 416 MB, free: 10.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002608/0.02094, allocations: 221.6 kB / 416.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.02101, allocations: 55.73 kB / 416.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004659/0.02148, allocations: 217.5 kB / 416.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.02148, allocations: 0 / 416.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.02149, allocations: 0 / 416.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.02149, allocations: 0 / 416.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.02183, allocations: 265.1 kB / 416.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.02183, allocations: 7.922 kB / 416.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.02187, allocations: 8 kB / 416.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.02188, allocations: 4 kB / 416.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.02189, allocations: 4 kB / 416.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.0219, allocations: 11.94 kB / 416.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0219, allocations: 0 / 416.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.02229, allocations: 213.5 kB / 417 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.02241, allocations: 59.66 kB / 417.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.02245, allocations: 4 kB / 417.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.02254, allocations: 15.92 kB / 417.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.0226, allocations: 7.984 kB / 417.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.02262, allocations: 4 kB / 417.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009035/0.02352, allocations: 0.7565 MB / 417.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02352, allocations: 8 kB / 417.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.02379, allocations: 43.94 kB / 417.9 MB, free: 8.137 MB / 350.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001826/0.02562, allocations: 439.9 kB / 418.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.02593, allocations: 87.83 kB / 418.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.02593, allocations: 0 / 418.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.02605, allocations: 43.98 kB / 418.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.02654, allocations: 66.3 kB / 418.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.02794, allocations: 0.8653 MB / 419.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.0282, allocations: 233.8 kB / 419.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.02831, allocations: 55.45 kB / 419.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.74e-05/0.02839, allocations: 32.48 kB / 419.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.02839, allocations: 0 / 419.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of Templates: time 0.009656/0.03804, allocations: 3.916 MB / 423.6 MB, free: 2.469 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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: 5.316103424876928]