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.001502/0.001502, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001691/0.001691, allocations: 212.6 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.363/1.363, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.1 MB " [Timeout remaining time 178] 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.2075/0.2075, allocations: 46.89 MB / 361.3 MB, free: 4.422 MB / 286.1 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 0.00219/0.00219, allocations: 75.88 kB / 0.497 GB, free: 7.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2868, allocations: 66.03 MB / 0.5615 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003648/0.2904, allocations: 2.345 MB / 0.5638 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.2932, allocations: 1.727 MB / 0.5655 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.2933, allocations: 11.88 kB / 0.5655 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.2937, allocations: 143.2 kB / 0.5656 GB, free: 376 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005312/0.2942, allocations: 286.8 kB / 0.5659 GB, free: 88 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.2954, allocations: 0.5462 MB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006122/0.296, allocations: 0.5765 MB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.2962, allocations: 48.91 kB / 0.5671 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.2965, allocations: 247 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.2967, allocations: 243 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.2968, allocations: 28 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.2971, allocations: 195.8 kB / 0.5677 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.2973, allocations: 143.4 kB / 0.5679 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002012/0.2975, allocations: 202.6 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.2982, allocations: 0.5942 MB / 0.5687 GB, free: 13.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2982, allocations: 0 / 0.5687 GB, free: 13.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2982, allocations: 0 / 0.5687 GB, free: 13.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2982, allocations: 7.938 kB / 0.5687 GB, free: 13.28 MB / 414.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.001232/0.2994, allocations: 0.8575 MB / 0.5695 GB, free: 12.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2994, allocations: 8.031 kB / 0.5695 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.2995, allocations: 60.56 kB / 0.5696 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006599/0.3002, allocations: 417.4 kB / 0.57 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.3002, allocations: 16.59 kB / 0.57 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.3003, allocations: 12.38 kB / 0.57 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.3007, allocations: 269.2 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3007, allocations: 0 / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.3008, allocations: 12 kB / 0.5703 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3008, allocations: 4 kB / 0.5703 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.3011, allocations: 107.9 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.3021, allocations: 0.8476 MB / 0.5712 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006643/0.3028, allocations: 302.5 kB / 0.5715 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.303, allocations: 95.39 kB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.3031, allocations: 4.062 kB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004099/0.3035, allocations: 222.6 kB / 0.5718 GB, free: 9.824 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.3035, allocations: 0 / 0.5718 GB, free: 9.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009745/0.3044, allocations: 402 kB / 0.5722 GB, free: 9.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/0.3046, allocations: 346.1 kB / 0.5725 GB, free: 9.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007587/0.3054, allocations: 0.6708 MB / 0.5732 GB, free: 8.324 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.3054, allocations: 37.7 kB / 0.5732 GB, free: 8.281 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.3056, allocations: 240.4 kB / 0.5734 GB, free: 8.043 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/0.3057, allocations: 71.52 kB / 0.5735 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-05/0.3058, allocations: 61.69 kB / 0.5735 GB, free: 7.906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3059, allocations: 366.8 kB / 0.5739 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.3061, allocations: 88.02 kB / 0.574 GB, free: 7.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.3065, allocations: 246.1 kB / 0.5742 GB, free: 7.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.3069, allocations: 226.8 kB / 0.5744 GB, free: 6.906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.307, allocations: 0 / 0.5744 GB, free: 6.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006234/0.3076, allocations: 325.2 kB / 0.5747 GB, free: 6.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3076, allocations: 10.34 kB / 0.5748 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3076, allocations: 3.984 kB / 0.5748 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3076, allocations: 4 kB / 0.5748 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.3079, allocations: 52.03 kB / 0.5748 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3079, allocations: 11.94 kB / 0.5748 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.3081, allocations: 35.75 kB / 0.5749 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.3081, allocations: 16 kB / 0.5749 GB, free: 6.453 MB / 414.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.00024/0.3083, allocations: 215 kB / 0.5751 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/0.3084, allocations: 59.62 kB / 0.5751 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007642/0.3092, allocations: 354 kB / 0.5755 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3092, allocations: 4 kB / 0.5755 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.3092, allocations: 12 kB / 0.5755 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.3092, allocations: 0 / 0.5755 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.3096, allocations: 388.3 kB / 0.5759 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3096, allocations: 0 / 0.5759 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.3098, allocations: 31.91 kB / 0.5759 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3098, allocations: 4 kB / 0.5759 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.3098, allocations: 4 kB / 0.5759 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3098, allocations: 4 kB / 0.5759 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3098, allocations: 3.938 kB / 0.5759 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006652/0.3105, allocations: 371 kB / 0.5763 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3106, allocations: 55.66 kB / 0.5763 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.3106, allocations: 12 kB / 0.5763 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.3108, allocations: 15.98 kB / 0.5763 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.3109, allocations: 47.88 kB / 0.5764 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.3109, allocations: 8 kB / 0.5764 GB, free: 4.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005463/0.3115, allocations: 494.8 kB / 0.5769 GB, free: 4.324 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3115, allocations: 0 / 0.5769 GB, free: 4.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003982/0.3119, allocations: 95.88 kB / 0.577 GB, free: 4.23 MB / 414.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 (24): * Single equations (assignments): 16 * 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.00154/0.3134, allocations: 466.3 kB / 0.5774 GB, free: 3.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005552/0.314, allocations: 219.8 kB / 0.5776 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.314, allocations: 0 / 0.5776 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.3143, allocations: 160.5 kB / 0.5778 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.315, allocations: 160.6 kB / 0.5779 GB, free: 3.391 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.3161, allocations: 0.8236 MB / 0.5787 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.3166, allocations: 0.8428 MB / 0.5795 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000207/0.3168, allocations: 91.22 kB / 0.5796 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.3169, allocations: 51.42 kB / 0.5797 GB, free: 1.512 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3169, allocations: 4 kB / 0.5797 GB, free: 1.508 MB / 414.1 MB Notification: Performance of Templates: time 0.01359/0.3305, allocations: 7.817 MB / 0.5873 GB, free: 9.727 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.7146583665162325]