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.001304/0.001304, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001487/0.001487, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.491/1.491, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2516/0.2516, allocations: 46.89 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 179] 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.00242/0.00242, allocations: 83.84 kB / 0.4967 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4084, allocations: 65.98 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003904/0.4123, allocations: 2.351 MB / 0.5635 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.4153, allocations: 1.72 MB / 0.5652 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.4155, allocations: 7.938 kB / 0.5652 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004556/0.4159, allocations: 147.2 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006315/0.4166, allocations: 286.8 kB / 0.5656 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.4179, allocations: 0.5212 MB / 0.5661 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007318/0.4186, allocations: 0.5688 MB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.4188, allocations: 51.88 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.4191, allocations: 235 kB / 0.5669 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.4194, allocations: 246.9 kB / 0.5672 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.4195, allocations: 24 kB / 0.5672 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.4198, allocations: 183.8 kB / 0.5674 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.42, allocations: 135.5 kB / 0.5675 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.4202, allocations: 206.7 kB / 0.5677 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007369/0.4209, allocations: 0.5992 MB / 0.5683 GB, free: 13.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4209, allocations: 0 / 0.5683 GB, free: 13.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4209, allocations: 0 / 0.5683 GB, free: 13.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.421, allocations: 0 / 0.5683 GB, free: 13.77 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.001426/0.4224, allocations: 0.9327 MB / 0.5692 GB, free: 12.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4224, allocations: 16.03 kB / 0.5692 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.4226, allocations: 60.55 kB / 0.5692 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007778/0.4233, allocations: 476.6 kB / 0.5697 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.4234, allocations: 16.59 kB / 0.5697 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.4234, allocations: 12.38 kB / 0.5697 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.4239, allocations: 273.2 kB / 0.57 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4239, allocations: 0 / 0.57 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.4239, allocations: 7.938 kB / 0.57 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.4239, allocations: 4 kB / 0.57 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.4243, allocations: 111.9 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.4254, allocations: 0.8798 MB / 0.571 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006764/0.4261, allocations: 286.5 kB / 0.5712 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.4264, allocations: 111.2 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.4264, allocations: 11.98 kB / 0.5714 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004216/0.4268, allocations: 214.6 kB / 0.5716 GB, free: 10.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.4268, allocations: 0 / 0.5716 GB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009702/0.4278, allocations: 409.9 kB / 0.572 GB, free: 9.684 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/0.428, allocations: 342.1 kB / 0.5723 GB, free: 9.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008461/0.4288, allocations: 0.6747 MB / 0.5729 GB, free: 8.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.4289, allocations: 33.7 kB / 0.573 GB, free: 8.543 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.4291, allocations: 240.5 kB / 0.5732 GB, free: 8.305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.4292, allocations: 63.53 kB / 0.5733 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.4293, allocations: 69.62 kB / 0.5733 GB, free: 8.168 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.4295, allocations: 366.8 kB / 0.5737 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.4297, allocations: 79.95 kB / 0.5738 GB, free: 7.723 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.4301, allocations: 241.1 kB / 0.574 GB, free: 7.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.4306, allocations: 226.7 kB / 0.5742 GB, free: 7.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4306, allocations: 0 / 0.5742 GB, free: 7.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006683/0.4312, allocations: 333.2 kB / 0.5745 GB, free: 6.848 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4312, allocations: 4 kB / 0.5745 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4313, allocations: 4 kB / 0.5745 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.4313, allocations: 4 kB / 0.5745 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.4315, allocations: 55.89 kB / 0.5746 GB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4316, allocations: 7.938 kB / 0.5746 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.4318, allocations: 35.94 kB / 0.5746 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.4318, allocations: 12 kB / 0.5746 GB, free: 6.727 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.0002674/0.4321, allocations: 225.7 kB / 0.5748 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.4322, allocations: 55.62 kB / 0.5749 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007694/0.4329, allocations: 350 kB / 0.5752 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.433, allocations: 8 kB / 0.5752 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.495e-06/0.433, allocations: 3.938 kB / 0.5752 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.433, allocations: 3.984 kB / 0.5753 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.4334, allocations: 417.2 kB / 0.5756 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4334, allocations: 4 kB / 0.5757 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.4336, allocations: 23.92 kB / 0.5757 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4336, allocations: 4 kB / 0.5757 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.4336, allocations: 7.984 kB / 0.5757 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4336, allocations: 0 / 0.5757 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.4336, allocations: 7.938 kB / 0.5757 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.4343, allocations: 375 kB / 0.5761 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.4344, allocations: 128.8 kB / 0.5762 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.324e-05/0.4345, allocations: 12 kB / 0.5762 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.4347, allocations: 19.98 kB / 0.5762 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4348, allocations: 39.89 kB / 0.5762 GB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.4348, allocations: 12 kB / 0.5763 GB, free: 4.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005951/0.4354, allocations: 494.8 kB / 0.5767 GB, free: 4.473 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4354, allocations: 0 / 0.5767 GB, free: 4.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.4359, allocations: 95.88 kB / 0.5768 GB, free: 4.379 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.001639/0.4375, allocations: 467.4 kB / 0.5773 GB, free: 4.062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006064/0.4381, allocations: 223.8 kB / 0.5775 GB, free: 3.844 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4381, allocations: 0 / 0.5775 GB, free: 3.844 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.4385, allocations: 156.6 kB / 0.5776 GB, free: 3.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000683/0.4391, allocations: 154.5 kB / 0.5778 GB, free: 3.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.4404, allocations: 0.8315 MB / 0.5786 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.4409, allocations: 0.8428 MB / 0.5794 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.4411, allocations: 87.23 kB / 0.5795 GB, free: 1.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.4413, allocations: 55.41 kB / 0.5795 GB, free: 1.668 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4413, allocations: 0 / 0.5795 GB, free: 1.668 MB / 414.1 MB Notification: Performance of Templates: time 0.01412/0.4554, allocations: 7.787 MB / 0.5872 GB, free: 9.918 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.462966001126915]