Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008267/0.0008267, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0007636/0.0007636, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8109/0.8109, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1256/0.1256, allocations: 32.36 MB / 270.3 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.192e-05, allocations: 5.516 kB / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002591/0.002612, allocations: 2.158 MB / 410.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.004132, allocations: 1.422 MB / 411.7 MB, free: 9.426 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.004264, allocations: 4 kB / 411.7 MB, free: 9.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.004623, allocations: 143.2 kB / 411.8 MB, free: 9.281 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.004954, allocations: 230.9 kB / 412 MB, free: 9.055 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.005822, allocations: 0.6313 MB / 412.7 MB, free: 8.422 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.006261, allocations: 0.5491 MB / 413.2 MB, free: 7.871 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.00639, allocations: 37.27 kB / 413.3 MB, free: 7.832 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.006638, allocations: 299.2 kB / 413.5 MB, free: 7.539 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.006814, allocations: 195.5 kB / 413.7 MB, free: 7.348 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.006849, allocations: 28 kB / 413.8 MB, free: 7.32 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.007072, allocations: 191.7 kB / 414 MB, free: 7.133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.007191, allocations: 131.5 kB / 414.1 MB, free: 7.004 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.879e-05/0.00728, allocations: 111.6 kB / 414.2 MB, free: 6.895 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.007748, allocations: 0.5997 MB / 414.8 MB, free: 6.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.00775, allocations: 0 / 414.8 MB, free: 6.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007751, allocations: 0 / 414.8 MB, free: 6.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.007756, allocations: 0 / 414.8 MB, free: 6.293 MB / 346.7 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.0008086/0.008565, allocations: 0.8226 MB / 415.6 MB, free: 5.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.008598, allocations: 8.031 kB / 415.6 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.008669, allocations: 52.61 kB / 415.7 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.00936, allocations: 405.7 kB / 416.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.009381, allocations: 12.61 kB / 416.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.009402, allocations: 16.36 kB / 416.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.009723, allocations: 338.3 kB / 416.4 MB, free: 4.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.009734, allocations: 11.94 kB / 416.4 MB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.009751, allocations: 4 kB / 416.4 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.009758, allocations: 4 kB / 416.4 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.009939, allocations: 127.8 kB / 416.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/0.0106, allocations: 0.7701 MB / 417.3 MB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.01096, allocations: 294.5 kB / 417.6 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.0111, allocations: 115.4 kB / 417.7 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.01112, allocations: 3.938 kB / 417.7 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002479/0.01136, allocations: 226.7 kB / 418 MB, free: 2.867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.182e-06/0.01137, allocations: 0 / 418 MB, free: 2.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005526/0.01192, allocations: 421 kB / 418.4 MB, free: 2.449 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.012, allocations: 247.2 kB / 418.6 MB, free: 2.152 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.01247, allocations: 0.6317 MB / 419.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.01249, allocations: 37.7 kB / 419.3 MB, free: 1.469 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.01261, allocations: 220.5 kB / 419.5 MB, free: 1.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.01266, allocations: 71.47 kB / 419.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.01272, allocations: 57.69 kB / 419.6 MB, free: 1.117 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.01284, allocations: 370.7 kB / 420 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.01296, allocations: 83.95 kB / 420.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.01321, allocations: 439.3 kB / 420.5 MB, free: 140 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.01349, allocations: 247.7 kB / 420.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01349, allocations: 0 / 420.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003702/0.01386, allocations: 329.2 kB / 421.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01388, allocations: 10.66 kB / 421.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01389, allocations: 0 / 421.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.0139, allocations: 4 kB / 421.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.01404, allocations: 55.89 kB / 421.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.01405, allocations: 4 kB / 421.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.725e-05/0.01415, allocations: 31.88 kB / 421.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.01416, allocations: 11.94 kB / 421.2 MB, free: 15.43 MB / 362.7 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.0001637/0.01432, allocations: 226 kB / 421.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.01437, allocations: 63.56 kB / 421.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.01482, allocations: 373.3 kB / 421.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01482, allocations: 4 kB / 421.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01483, allocations: 4 kB / 421.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01483, allocations: 0 / 421.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.01508, allocations: 316.9 kB / 422.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01509, allocations: 0 / 422.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.699e-05/0.01515, allocations: 27.98 kB / 422.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01515, allocations: 4 kB / 422.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.01517, allocations: 15.98 kB / 422.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01517, allocations: 0 / 422.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.01518, allocations: 3.938 kB / 422.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.01557, allocations: 403.4 kB / 422.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.01562, allocations: 55.61 kB / 422.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.01566, allocations: 11.98 kB / 422.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.01573, allocations: 15.98 kB / 422.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.01581, allocations: 47.94 kB / 422.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.01583, allocations: 11.94 kB / 422.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006794/0.01651, allocations: 470.8 kB / 423.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01651, allocations: 7.875 kB / 423.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000274/0.01678, allocations: 107.8 kB / 423.3 MB, free: 13.23 MB / 362.7 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 (28): * Single equations (assignments): 20 * 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.0007516/0.01753, allocations: 485.2 kB / 423.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.01788, allocations: 235.9 kB / 424 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01788, allocations: 3.938 kB / 424 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.01805, allocations: 127.9 kB / 424.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.01841, allocations: 156.5 kB / 424.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008472/0.01926, allocations: 0.8286 MB / 425.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.01941, allocations: 249.9 kB / 425.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.297e-05/0.01949, allocations: 52.47 kB / 425.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01949, allocations: 0 / 425.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of Templates: time 0.006605/0.0261, allocations: 7.251 MB / 432.7 MB, free: 3.836 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.059212503023446]