Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 112.2 kB / 21.19 MB, free: 0.7773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 206.3 kB / 24.49 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 44.92 MB / 359.6 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 67.91 kB / 0.4943 GB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3997, allocations: 65.47 MB / 0.5582 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004631/0.4044, allocations: 2.325 MB / 0.5605 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.408, allocations: 1.732 MB / 0.5622 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.4083, allocations: 7.938 kB / 0.5622 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.4088, allocations: 147.2 kB / 0.5623 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007097/0.4095, allocations: 286.8 kB / 0.5626 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.411, allocations: 0.5408 MB / 0.5631 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007216/0.4117, allocations: 0.5726 MB / 0.5637 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.4119, allocations: 49.25 kB / 0.5638 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.4122, allocations: 239 kB / 0.564 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.4125, allocations: 243 kB / 0.5642 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.4126, allocations: 35.94 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.4129, allocations: 199.7 kB / 0.5644 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.4131, allocations: 131.5 kB / 0.5646 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.4133, allocations: 210.6 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007244/0.414, allocations: 0.6015 MB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.414, allocations: 0 / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.414, allocations: 0 / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.4141, allocations: 0 / 0.5654 GB, free: 452 kB / 398.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.001335/0.4154, allocations: 0.8652 MB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4154, allocations: 8.031 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.4155, allocations: 68.55 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007627/0.4163, allocations: 421.3 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.4163, allocations: 16.59 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.4164, allocations: 12.12 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.4168, allocations: 260 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4169, allocations: 0 / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.4169, allocations: 8 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4169, allocations: 4 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.4172, allocations: 111.9 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.4183, allocations: 0.8554 MB / 0.5679 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006736/0.419, allocations: 286.5 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.4192, allocations: 99.39 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.4193, allocations: 4 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004395/0.4197, allocations: 218.6 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.4197, allocations: 0 / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001003/0.4207, allocations: 413.8 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002309/0.4209, allocations: 346.1 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009341/0.4219, allocations: 0.6669 MB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.4219, allocations: 37.69 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.4221, allocations: 236.4 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.511e-05/0.4222, allocations: 75.53 kB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4223, allocations: 61.69 kB / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.4225, allocations: 366.8 kB / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.4227, allocations: 83.95 kB / 0.5707 GB, free: 10.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.4231, allocations: 250.1 kB / 0.5709 GB, free: 10.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.4236, allocations: 234.8 kB / 0.5711 GB, free: 10.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4236, allocations: 4 kB / 0.5711 GB, free: 10.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006807/0.4243, allocations: 317.3 kB / 0.5714 GB, free: 9.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4243, allocations: 8 kB / 0.5715 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4243, allocations: 0 / 0.5715 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.4243, allocations: 7.938 kB / 0.5715 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.4246, allocations: 55.91 kB / 0.5715 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.4246, allocations: 4 kB / 0.5715 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.4248, allocations: 39.94 kB / 0.5716 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.4248, allocations: 8 kB / 0.5716 GB, free: 9.609 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.0002799/0.4251, allocations: 217.7 kB / 0.5718 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.43e-05/0.4252, allocations: 59.62 kB / 0.5718 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008054/0.426, allocations: 349.7 kB / 0.5722 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.426, allocations: 7.938 kB / 0.5722 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.426, allocations: 0 / 0.5722 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.426, allocations: 4 kB / 0.5722 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.4265, allocations: 392.5 kB / 0.5726 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4265, allocations: 0 / 0.5726 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.4267, allocations: 31.97 kB / 0.5726 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4267, allocations: 0 / 0.5726 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.4267, allocations: 11.98 kB / 0.5726 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.4267, allocations: 7.938 kB / 0.5726 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4267, allocations: 3.938 kB / 0.5726 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007193/0.4274, allocations: 366.7 kB / 0.573 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.4275, allocations: 51.66 kB / 0.573 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.4276, allocations: 15.94 kB / 0.573 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.4278, allocations: 19.92 kB / 0.573 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.4279, allocations: 39.94 kB / 0.5731 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.4279, allocations: 16 kB / 0.5731 GB, free: 7.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006208/0.4285, allocations: 490.8 kB / 0.5736 GB, free: 7.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4285, allocations: 3.938 kB / 0.5736 GB, free: 7.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004636/0.429, allocations: 103.9 kB / 0.5737 GB, free: 7.375 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.001732/0.4307, allocations: 466.7 kB / 0.5741 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006197/0.4313, allocations: 215.6 kB / 0.5743 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4314, allocations: 0 / 0.5743 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.4316, allocations: 119.8 kB / 0.5744 GB, free: 6.742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007185/0.4324, allocations: 152.8 kB / 0.5746 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.4338, allocations: 0.8723 MB / 0.5754 GB, free: 5.691 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.4344, allocations: 0.8467 MB / 0.5763 GB, free: 4.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.4346, allocations: 55.41 kB / 0.5763 GB, free: 4.758 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4346, allocations: 0 / 0.5763 GB, free: 4.758 MB / 414.1 MB Notification: Performance of Templates: time 0.01278/0.4473, allocations: 7.312 MB / 0.5834 GB, free: 13.47 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.93347061285749]