Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.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.001966/0.001966, allocations: 82.42 kB / 20.68 MB, free: 1.035 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.002539/0.002539, allocations: 163.6 kB / 23.96 MB, free: 4.164 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.508/1.508, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2161/0.2161, allocations: 34.27 MB / 295 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 442.7 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.972e-05, allocations: 2.281 kB / 442.7 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003859/0.003889, allocations: 2.22 MB / 444.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003036/0.006924, allocations: 1.621 MB / 446.5 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.007084, allocations: 7.938 kB / 446.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.007536, allocations: 147.2 kB / 446.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000672/0.008208, allocations: 294.6 kB / 446.9 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.009611, allocations: 0.5472 MB / 447.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2014/0.211, allocations: 0.5842 MB / 448.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003337/0.2113, allocations: 42.23 kB / 448.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007046/0.212, allocations: 312 kB / 448.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.2124, allocations: 208.5 kB / 448.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.165e-05/0.2125, allocations: 30 kB / 448.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005426/0.213, allocations: 189.9 kB / 448.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.2132, allocations: 139.2 kB / 449 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.2133, allocations: 110.3 kB / 449.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008125/0.2142, allocations: 0.6178 MB / 449.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2142, allocations: 0 / 449.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2142, allocations: 0 / 449.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.2142, allocations: 0.9688 kB / 449.7 MB, free: 15.39 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001179/0.2154, allocations: 0.8504 MB / 450.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.2154, allocations: 10.78 kB / 450.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.2155, allocations: 61.11 kB / 450.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/0.2162, allocations: 415.3 kB / 451 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.2163, allocations: 14.52 kB / 451 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.2163, allocations: 15.17 kB / 451.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.2168, allocations: 344 kB / 451.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2169, allocations: 0 / 451.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.2169, allocations: 13.41 kB / 451.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.2169, allocations: 4.828 kB / 451.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.2173, allocations: 124.9 kB / 451.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.2183, allocations: 0.7836 MB / 452.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/0.219, allocations: 293.4 kB / 452.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.2192, allocations: 109.9 kB / 452.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.2192, allocations: 3.781 kB / 452.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004266/0.2197, allocations: 223.8 kB / 452.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.084e-06/0.2197, allocations: 0 / 452.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001098/0.2208, allocations: 428.5 kB / 453.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.443e-05/0.2209, allocations: 245.4 kB / 453.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/0.2217, allocations: 0.6678 MB / 454.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.2218, allocations: 39.03 kB / 454.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.2219, allocations: 235.2 kB / 454.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.222, allocations: 69.34 kB / 454.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2221, allocations: 63.3 kB / 454.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2222, allocations: 371.8 kB / 455 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.2225, allocations: 89.33 kB / 455.1 MB, free: 12.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.2228, allocations: 439 kB / 455.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.2233, allocations: 242.4 kB / 455.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2233, allocations: 0 / 455.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006972/0.224, allocations: 335.1 kB / 456.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.224, allocations: 6.219 kB / 456.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.224, allocations: 2.469 kB / 456.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.224, allocations: 3.234 kB / 456.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.2243, allocations: 54.55 kB / 456.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.2243, allocations: 7.469 kB / 456.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.2246, allocations: 33.75 kB / 456.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.2246, allocations: 15.09 kB / 456.2 MB, free: 11.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002545/0.2248, allocations: 218.8 kB / 456.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.925e-05/0.2249, allocations: 55.08 kB / 456.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008516/0.2258, allocations: 382.6 kB / 456.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2258, allocations: 7.969 kB / 456.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2258, allocations: 1.406 kB / 456.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.2258, allocations: 2.984 kB / 456.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.2262, allocations: 324.2 kB / 457.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2262, allocations: 3.188 kB / 457.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.2264, allocations: 29.92 kB / 457.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.2264, allocations: 2.953 kB / 457.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.2264, allocations: 10.97 kB / 457.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.2264, allocations: 5.547 kB / 457.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2264, allocations: 5.375 kB / 457.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.2271, allocations: 401.8 kB / 457.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.2272, allocations: 58.41 kB / 457.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.763e-05/0.2273, allocations: 11.11 kB / 457.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.2274, allocations: 19.56 kB / 457.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.2276, allocations: 39.06 kB / 457.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.2276, allocations: 14.59 kB / 457.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006041/0.2282, allocations: 0.4884 MB / 458.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2282, allocations: 1.125 kB / 458.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005547/0.2288, allocations: 104.8 kB / 458.4 MB, free: 10.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001862/0.2306, allocations: 0.49 MB / 458.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006363/0.2313, allocations: 238.7 kB / 459.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2313, allocations: 5.094 kB / 459.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.2317, allocations: 176.7 kB / 459.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.2324, allocations: 151.1 kB / 459.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.2337, allocations: 0.832 MB / 460.2 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.234, allocations: 247.2 kB / 460.5 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.2342, allocations: 90.95 kB / 460.6 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.2343, allocations: 59.39 kB / 460.6 MB, free: 9.738 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2343, allocations: 0 / 460.6 MB, free: 9.738 MB / 366.1 MB Notification: Performance of Templates: time 0.01615/0.2505, allocations: 7.95 MB / 468.6 MB, free: 7.773 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.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.135600328445435]