Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.005539/0.005539, allocations: 105.4 kB / 21.98 MB, free: 5.223 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.001394/0.001394, allocations: 214.3 kB / 25.29 MB, free: 3.203 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.444/1.444, allocations: 230.5 MB / 258.9 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2384/0.2384, allocations: 46.93 MB / 362.3 MB, free: 4.211 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 87.84 kB / 0.4982 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3276, allocations: 66.07 MB / 0.5627 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004336/0.332, allocations: 2.358 MB / 0.565 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.3352, allocations: 1.72 MB / 0.5667 GB, free: 196 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.3354, allocations: 11.88 kB / 0.5667 GB, free: 184 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.3358, allocations: 147.2 kB / 0.5668 GB, free: 36 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006785/0.3365, allocations: 286.8 kB / 0.5671 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.3379, allocations: 0.5368 MB / 0.5676 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006955/0.3386, allocations: 0.5726 MB / 0.5682 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.3387, allocations: 45.25 kB / 0.5682 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.3391, allocations: 247 kB / 0.5685 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.3394, allocations: 243 kB / 0.5687 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-05/0.3395, allocations: 24 kB / 0.5687 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.3399, allocations: 199.8 kB / 0.5689 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.34, allocations: 143.4 kB / 0.5691 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.3402, allocations: 214.6 kB / 0.5693 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007653/0.341, allocations: 0.5938 MB / 0.5698 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.341, allocations: 0 / 0.5698 GB, free: 12.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.341, allocations: 0 / 0.5698 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.341, allocations: 3.938 kB / 0.5699 GB, free: 12.95 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.001344/0.3424, allocations: 0.8496 MB / 0.5707 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3424, allocations: 16.02 kB / 0.5707 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.3425, allocations: 60.56 kB / 0.5708 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.3433, allocations: 421.4 kB / 0.5712 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.3433, allocations: 12.61 kB / 0.5712 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.3434, allocations: 8.375 kB / 0.5712 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.3439, allocations: 277.2 kB / 0.5714 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3439, allocations: 0 / 0.5714 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.3439, allocations: 4 kB / 0.5714 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3439, allocations: 4 kB / 0.5714 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.3442, allocations: 111.9 kB / 0.5716 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.3455, allocations: 0.8592 MB / 0.5724 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.3462, allocations: 290.5 kB / 0.5727 GB, free: 9.852 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.3464, allocations: 103.4 kB / 0.5728 GB, free: 9.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.3464, allocations: 8.062 kB / 0.5728 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004378/0.3469, allocations: 218.6 kB / 0.573 GB, free: 9.492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.3469, allocations: 0 / 0.573 GB, free: 9.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001011/0.3479, allocations: 409 kB / 0.5734 GB, free: 9.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002139/0.3481, allocations: 342.1 kB / 0.5737 GB, free: 8.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/0.349, allocations: 0.6708 MB / 0.5744 GB, free: 7.988 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.349, allocations: 37.7 kB / 0.5744 GB, free: 7.945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.3492, allocations: 240.4 kB / 0.5746 GB, free: 7.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.933e-05/0.3493, allocations: 63.53 kB / 0.5747 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.3494, allocations: 65.69 kB / 0.5747 GB, free: 7.574 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3496, allocations: 366.8 kB / 0.5751 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.3498, allocations: 83.94 kB / 0.5752 GB, free: 7.125 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.3502, allocations: 245.6 kB / 0.5754 GB, free: 6.824 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004821/0.3507, allocations: 231.8 kB / 0.5756 GB, free: 6.574 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3507, allocations: 0 / 0.5756 GB, free: 6.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006626/0.3513, allocations: 325 kB / 0.5759 GB, free: 6.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3513, allocations: 4 kB / 0.5759 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.3513, allocations: 4 kB / 0.576 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3514, allocations: 4 kB / 0.576 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.3516, allocations: 51.91 kB / 0.576 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.3516, allocations: 7.938 kB / 0.576 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.3518, allocations: 39.75 kB / 0.576 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.3519, allocations: 12.12 kB / 0.5761 GB, free: 6.129 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.0002837/0.3521, allocations: 222 kB / 0.5763 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.645e-05/0.3522, allocations: 55.62 kB / 0.5763 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007964/0.353, allocations: 349.7 kB / 0.5767 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.353, allocations: 4 kB / 0.5767 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.353, allocations: 7.938 kB / 0.5767 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3531, allocations: 0 / 0.5767 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.3535, allocations: 392.3 kB / 0.577 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3535, allocations: 4 kB / 0.577 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.3536, allocations: 23.92 kB / 0.5771 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3537, allocations: 4 kB / 0.5771 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.3537, allocations: 11.98 kB / 0.5771 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3537, allocations: 0 / 0.5771 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3537, allocations: 7.938 kB / 0.5771 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.3544, allocations: 371 kB / 0.5774 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.3545, allocations: 47.66 kB / 0.5775 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.685e-05/0.3545, allocations: 20.23 kB / 0.5775 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.3547, allocations: 19.92 kB / 0.5775 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.3548, allocations: 47.88 kB / 0.5776 GB, free: 4.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.711e-05/0.3549, allocations: 15.98 kB / 0.5776 GB, free: 4.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006182/0.3555, allocations: 490.8 kB / 0.5781 GB, free: 3.988 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3555, allocations: 0 / 0.5781 GB, free: 3.988 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004605/0.3559, allocations: 103.9 kB / 0.5782 GB, free: 3.887 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.001651/0.3576, allocations: 453.1 kB / 0.5786 GB, free: 3.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000617/0.3582, allocations: 223.8 kB / 0.5788 GB, free: 3.352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3582, allocations: 0 / 0.5788 GB, free: 3.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.3585, allocations: 115.8 kB / 0.5789 GB, free: 3.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.3592, allocations: 153.5 kB / 0.5791 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.3606, allocations: 0.8607 MB / 0.5799 GB, free: 2.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.3612, allocations: 0.8506 MB / 0.5807 GB, free: 1.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.3613, allocations: 51.42 kB / 0.5808 GB, free: 1.27 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3613, allocations: 0 / 0.5808 GB, free: 1.27 MB / 414.1 MB Notification: Performance of Templates: time 0.01218/0.3735, allocations: 7.321 MB / 0.5879 GB, free: 9.965 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.575940805021673]