Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001825/0.001825, allocations: 71.53 kB / 19.93 MB, free: 1.77 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.002444/0.002444, allocations: 173.2 kB / 23.22 MB, free: 4.887 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.434/1.434, 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.2078/0.2078, allocations: 32.39 MB / 269.6 MB, free: 4.656 MB / 254.1 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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.824e-05, allocations: 6.281 kB / 407.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003923/0.003951, allocations: 2.158 MB / 409.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.006591, allocations: 1.411 MB / 410.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.006719, allocations: 7.938 kB / 410.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004873/0.007206, allocations: 147.2 kB / 411.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005443/0.007751, allocations: 242.8 kB / 411.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.009411, allocations: 0.6305 MB / 411.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006885/0.0101, allocations: 0.5491 MB / 412.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.01025, allocations: 41.27 kB / 412.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003932/0.01064, allocations: 295.2 kB / 412.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.01093, allocations: 191.5 kB / 413 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.796e-05/0.01099, allocations: 28 kB / 413 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.01138, allocations: 195.6 kB / 413.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.01155, allocations: 131.5 kB / 413.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.01172, allocations: 115.6 kB / 413.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007957/0.01251, allocations: 0.5919 MB / 414 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.01252, allocations: 4 kB / 414.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01252, allocations: 0 / 414.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.01253, allocations: 0 / 414.1 MB, free: 12.29 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001333/0.01386, allocations: 0.8187 MB / 414.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.0139, allocations: 8.031 kB / 414.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.01402, allocations: 56.61 kB / 414.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007205/0.01474, allocations: 401.8 kB / 415.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.01477, allocations: 12.61 kB / 415.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.01481, allocations: 16.36 kB / 415.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.01538, allocations: 342.3 kB / 415.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.0154, allocations: 3.938 kB / 415.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.01542, allocations: 4 kB / 415.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.01543, allocations: 4 kB / 415.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.01579, allocations: 123.8 kB / 415.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.01693, allocations: 0.77 MB / 416.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007567/0.01769, allocations: 298.8 kB / 416.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.01795, allocations: 107.4 kB / 417 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.01797, allocations: 8 kB / 417 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004505/0.01842, allocations: 231.2 kB / 417.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.833e-06/0.01842, allocations: 0 / 417.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.00108/0.0195, allocations: 422 kB / 417.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000185/0.01969, allocations: 239.3 kB / 417.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008636/0.02055, allocations: 0.6355 MB / 418.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.02059, allocations: 37.69 kB / 418.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.02082, allocations: 220.5 kB / 418.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.571e-05/0.02091, allocations: 63.47 kB / 418.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.02103, allocations: 73.62 kB / 418.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.02126, allocations: 362.7 kB / 419.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.02151, allocations: 91.89 kB / 419.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.02199, allocations: 446.8 kB / 419.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.02252, allocations: 234.7 kB / 420 MB, free: 5.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.02253, allocations: 7.938 kB / 420 MB, free: 5.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007175/0.02324, allocations: 329.3 kB / 420.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.02326, allocations: 4 kB / 420.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.02327, allocations: 4 kB / 420.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.02329, allocations: 3.938 kB / 420.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.02357, allocations: 59.95 kB / 420.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.02358, allocations: 8.062 kB / 420.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.02379, allocations: 27.88 kB / 420.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.02382, allocations: 19.94 kB / 420.5 MB, free: 5.418 MB / 350.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.0002656/0.02409, allocations: 217.8 kB / 420.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.848e-05/0.02418, allocations: 55.62 kB / 420.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008628/0.02504, allocations: 369.4 kB / 421.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.02505, allocations: 4 kB / 421.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.02505, allocations: 4 kB / 421.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.02506, allocations: 0 / 421.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.02546, allocations: 316.9 kB / 421.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.02546, allocations: 0 / 421.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.02562, allocations: 35.92 kB / 421.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.02563, allocations: 4 kB / 421.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.02566, allocations: 7.984 kB / 421.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.02567, allocations: 4 kB / 421.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.02567, allocations: 0 / 421.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/0.02645, allocations: 411.4 kB / 421.9 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.02655, allocations: 55.67 kB / 421.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.391e-05/0.02662, allocations: 15.98 kB / 421.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.0268, allocations: 15.98 kB / 421.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.02691, allocations: 35.95 kB / 422 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/0.02696, allocations: 23.92 kB / 422 MB, free: 3.797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006199/0.02758, allocations: 470.8 kB / 422.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02758, allocations: 0 / 422.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.02801, allocations: 103.8 kB / 422.6 MB, free: 3.238 MB / 350.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.001822/0.02984, allocations: 488 kB / 423 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006328/0.03047, allocations: 235.7 kB / 423.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.03047, allocations: 0 / 423.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.03088, allocations: 175.8 kB / 423.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007818/0.03166, allocations: 157.7 kB / 423.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.03302, allocations: 0.7964 MB / 424.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.0333, allocations: 249.8 kB / 424.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002311/0.03353, allocations: 87.25 kB / 424.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.03367, allocations: 48.48 kB / 424.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.03367, allocations: 0 / 424.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of Templates: time 0.01582/0.04949, allocations: 7.842 MB / 432.6 MB, free: 9.203 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 4.892558123916388]