Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007573/0.0007573, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009986/0.001756, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009711/0.0009711, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001138/0.00211, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9973/0.9973, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09526/1.093, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2714/0.2714, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02575/0.2972, allocations: 13.23 MB / 292.6 MB, free: 6.48 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/1.985e-05, allocations: 5.062 kB / 293.9 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002552/0.002572, allocations: 2.33 MB / 296.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.004494, allocations: 1.705 MB / 297.9 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.004612, allocations: 7.938 kB / 297.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.004873, allocations: 147.2 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.005241, allocations: 310.5 kB / 298.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.00597, allocations: 0.5396 MB / 298.9 MB, free: 168 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000418/0.006388, allocations: 0.5649 MB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.006491, allocations: 53.17 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003715/0.006863, allocations: 444 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.007027, allocations: 187.4 kB / 300.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.007059, allocations: 28 kB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.007313, allocations: 191.7 kB / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.781e-05/0.007411, allocations: 111.6 kB / 300.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.675e-05/0.007497, allocations: 91.62 kB / 300.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.007914, allocations: 414.5 kB / 300.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.649e-05/0.00793, allocations: 0 / 300.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.007932, allocations: 0 / 300.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.007948, allocations: 0 / 300.9 MB, free: 14.1 MB / 298.7 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.000905/0.008853, allocations: 0.892 MB / 301.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.008891, allocations: 16.92 kB / 301.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.916e-05/0.00896, allocations: 40.89 kB / 301.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.009338, allocations: 337.8 kB / 302.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.009367, allocations: 12.61 kB / 302.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.009387, allocations: 16.31 kB / 302.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.009635, allocations: 186.4 kB / 302.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.009645, allocations: 192 / 302.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.009659, allocations: 4.375 kB / 302.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.009667, allocations: 11.94 kB / 302.4 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.426e-05/0.009751, allocations: 55.2 kB / 302.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005258/0.01028, allocations: 0.5534 MB / 303 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.01056, allocations: 376.5 kB / 303.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.01063, allocations: 59.41 kB / 303.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.01065, allocations: 7.938 kB / 303.5 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.01086, allocations: 181.3 kB / 303.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.072e-06/0.01086, allocations: 0 / 303.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002664/0.01113, allocations: 185.6 kB / 303.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.01118, allocations: 140.5 kB / 304 MB, free: 10.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.01154, allocations: 496.8 kB / 304.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.01156, allocations: 33.7 kB / 304.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.01165, allocations: 153.8 kB / 304.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.0117, allocations: 71.44 kB / 304.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.01177, allocations: 57.66 kB / 304.8 MB, free: 9.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.01188, allocations: 370.7 kB / 305.1 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.649e-05/0.01193, allocations: 30.8 kB / 305.2 MB, free: 9.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.01208, allocations: 217 kB / 305.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.01222, allocations: 157 kB / 305.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.01222, allocations: 3.938 kB / 305.5 MB, free: 9.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001882/0.01241, allocations: 184.9 kB / 305.7 MB, free: 8.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.01243, allocations: 8.125 kB / 305.7 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.01243, allocations: 8.062 kB / 305.7 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.01244, allocations: 0 / 305.7 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.0126, allocations: 67.89 kB / 305.8 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.01261, allocations: 4 kB / 305.8 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.01269, allocations: 19.89 kB / 305.8 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.0127, allocations: 11.98 kB / 305.8 MB, free: 8.809 MB / 298.7 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.0001053/0.0128, allocations: 148.5 kB / 306 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.01284, allocations: 35.95 kB / 306 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.01314, allocations: 197.7 kB / 306.2 MB, free: 8.414 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01314, allocations: 4 kB / 306.2 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01314, allocations: 0 / 306.2 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01315, allocations: 7.984 kB / 306.2 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.01333, allocations: 205.6 kB / 306.4 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.01333, allocations: 4 kB / 306.4 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.812e-05/0.01342, allocations: 39.91 kB / 306.5 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.01347, allocations: 63.52 kB / 306.5 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.01347, allocations: 4 kB / 306.5 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.01348, allocations: 7.984 kB / 306.5 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01348, allocations: 0 / 306.5 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01348, allocations: 4 kB / 306.5 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.01368, allocations: 213.9 kB / 306.7 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.01372, allocations: 11.98 kB / 306.8 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.01379, allocations: 19.98 kB / 306.8 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.01385, allocations: 35.95 kB / 306.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.01388, allocations: 11.98 kB / 306.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001729/0.01405, allocations: 239.2 kB / 307.1 MB, free: 7.508 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01405, allocations: 0 / 307.1 MB, free: 7.508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000233/0.01428, allocations: 99.83 kB / 307.1 MB, free: 7.41 MB / 298.7 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.001372/0.01565, allocations: 0.588 MB / 307.7 MB, free: 7.113 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.01584, allocations: 128.8 kB / 307.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/0.01586, allocations: 16.05 kB / 307.9 MB, free: 6.969 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.822e-05/0.01594, allocations: 80.69 kB / 308 MB, free: 6.887 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.01644, allocations: 200.1 kB / 308.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/0.01728, allocations: 0.7069 MB / 308.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.767e-05/0.01736, allocations: 129.6 kB / 309 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.01748, allocations: 71.31 kB / 309.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.01766, allocations: 147.3 kB / 309.2 MB, free: 5.582 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01766, allocations: 4 kB / 309.2 MB, free: 5.578 MB / 298.7 MB Notification: Performance of Templates: time 0.01026/0.02792, allocations: 8.482 MB / 317.7 MB, free: 13.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.183026255108416]