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.001517/0.001517, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001655/0.001655, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.399/1.399, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2204/0.2204, allocations: 46.9 MB / 361.1 MB, free: 4.621 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.002268/0.002268, allocations: 75.88 kB / 0.4968 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2772, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003664/0.2808, allocations: 2.347 MB / 0.5635 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.2836, allocations: 1.72 MB / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.2837, allocations: 7.938 kB / 0.5652 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.2841, allocations: 143.2 kB / 0.5653 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005569/0.2846, allocations: 290.7 kB / 0.5656 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.2858, allocations: 0.5289 MB / 0.5661 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006105/0.2864, allocations: 0.5688 MB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.2866, allocations: 47.88 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.2869, allocations: 239 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.2872, allocations: 235 kB / 0.5672 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.2872, allocations: 28 kB / 0.5672 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.2875, allocations: 187.8 kB / 0.5674 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.2877, allocations: 127.5 kB / 0.5675 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.2878, allocations: 206.6 kB / 0.5677 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006575/0.2885, allocations: 0.5992 MB / 0.5683 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2885, allocations: 4 kB / 0.5683 GB, free: 13.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2885, allocations: 0 / 0.5683 GB, free: 13.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.2885, allocations: 0 / 0.5683 GB, free: 13.75 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.001299/0.2898, allocations: 0.9405 MB / 0.5692 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2898, allocations: 12.03 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.29, allocations: 60.56 kB / 0.5693 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006831/0.2906, allocations: 480.5 kB / 0.5697 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.2907, allocations: 8.609 kB / 0.5697 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.2907, allocations: 16.38 kB / 0.5697 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.2912, allocations: 273.2 kB / 0.57 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2912, allocations: 0 / 0.57 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.2912, allocations: 8 kB / 0.57 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2912, allocations: 0 / 0.57 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.2915, allocations: 115.9 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.2926, allocations: 0.8836 MB / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.2933, allocations: 282.5 kB / 0.5712 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.2935, allocations: 107.4 kB / 0.5714 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.2935, allocations: 7.984 kB / 0.5714 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/0.2939, allocations: 214.6 kB / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.372e-06/0.2939, allocations: 0 / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009482/0.2949, allocations: 413.8 kB / 0.572 GB, free: 9.672 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001867/0.2951, allocations: 342.1 kB / 0.5723 GB, free: 9.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007837/0.2959, allocations: 0.6708 MB / 0.5729 GB, free: 8.574 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.2959, allocations: 33.7 kB / 0.573 GB, free: 8.535 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.2961, allocations: 248.4 kB / 0.5732 GB, free: 8.289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.2962, allocations: 67.52 kB / 0.5733 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.579e-05/0.2963, allocations: 57.7 kB / 0.5733 GB, free: 8.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2964, allocations: 370.8 kB / 0.5737 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.2967, allocations: 83.95 kB / 0.5738 GB, free: 7.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.297, allocations: 241 kB / 0.574 GB, free: 7.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.2975, allocations: 230.7 kB / 0.5742 GB, free: 7.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2975, allocations: 0 / 0.5742 GB, free: 7.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006393/0.2981, allocations: 321.3 kB / 0.5745 GB, free: 6.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2981, allocations: 10.34 kB / 0.5745 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2981, allocations: 0 / 0.5745 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2982, allocations: 4 kB / 0.5745 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.2984, allocations: 59.89 kB / 0.5746 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.2984, allocations: 4 kB / 0.5746 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.2986, allocations: 35.88 kB / 0.5746 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.2986, allocations: 15.98 kB / 0.5746 GB, free: 6.715 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.0002423/0.2989, allocations: 221.7 kB / 0.5749 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.299, allocations: 63.62 kB / 0.5749 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007441/0.2997, allocations: 338 kB / 0.5752 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2997, allocations: 7.984 kB / 0.5752 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2997, allocations: 4 kB / 0.5752 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.2999, allocations: 136.6 kB / 0.5754 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.2999, allocations: 12 kB / 0.5754 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.3001, allocations: 15.98 kB / 0.5754 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.3002, allocations: 39.89 kB / 0.5754 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008195/0.301, allocations: 0.5924 MB / 0.576 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008535/0.3019, allocations: 0.7302 MB / 0.5767 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003168/0.3022, allocations: 164.3 kB / 0.5769 GB, free: 4.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005567/0.3027, allocations: 490.7 kB / 0.5774 GB, free: 3.871 MB / 414.1 MB Notification: Performance of Backend: time 6.31e-07/0.3027, allocations: 0 / 0.5774 GB, free: 3.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002497/0.3052, allocations: 0.592 MB / 0.5779 GB, free: 3.422 MB / 414.1 MB Notification: Performance of SimCode: time 0.001673/0.3069, allocations: 1.294 MB / 0.5792 GB, free: 2.09 MB / 414.1 MB Notification: Performance of Templates: time 0.01502/0.3219, allocations: 8.703 MB / 0.5877 GB, free: 9.438 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_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.409739838913083]