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.0009932/0.0009932, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005549/0.005549, allocations: 160.7 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.8885/0.8885, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2566/0.2566, allocations: 32.79 MB / 294.2 MB, free: 1.188 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 440.8 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.219e-05, allocations: 2.281 kB / 440.8 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002412/0.002435, allocations: 2.199 MB / 443 MB, free: 1.516 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1946/0.197, allocations: 1.62 MB / 444.7 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.1973, allocations: 6.25 kB / 444.7 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004045/0.1977, allocations: 146.1 kB / 444.8 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005236/0.1982, allocations: 302.3 kB / 445.1 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009696/0.1992, allocations: 0.5417 MB / 445.6 MB, free: 43.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000428/0.1996, allocations: 0.5865 MB / 446.2 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1998, allocations: 41.5 kB / 446.3 MB, free: 43.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.2, allocations: 314.4 kB / 446.6 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.2002, allocations: 203 kB / 446.8 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.2002, allocations: 27.34 kB / 446.8 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.2005, allocations: 192.6 kB / 447 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.2006, allocations: 139.8 kB / 447.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.979e-05/0.2007, allocations: 115.2 kB / 447.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004515/0.2011, allocations: 0.617 MB / 447.9 MB, free: 43.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2011, allocations: 3.094 kB / 447.9 MB, free: 43.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.2011, allocations: 0 / 447.9 MB, free: 43.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.2011, allocations: 0.5625 kB / 447.9 MB, free: 43.59 MB / 410.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.0007734/0.2019, allocations: 0.8541 MB / 448.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.202, allocations: 8.75 kB / 448.7 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.202, allocations: 54.67 kB / 448.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.2025, allocations: 413.3 kB / 449.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.2025, allocations: 16.5 kB / 449.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.2026, allocations: 17 kB / 449.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.2029, allocations: 346.4 kB / 449.5 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2029, allocations: 5.844 kB / 449.6 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.2029, allocations: 7.938 kB / 449.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2029, allocations: 6.875 kB / 449.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.2031, allocations: 128.6 kB / 449.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.2037, allocations: 0.785 MB / 450.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.2041, allocations: 293.2 kB / 450.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.2042, allocations: 109.1 kB / 450.9 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.2042, allocations: 2.844 kB / 450.9 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/0.2045, allocations: 227.2 kB / 451.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 3.587e-06/0.2045, allocations: 4 kB / 451.1 MB, free: 41.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005922/0.2051, allocations: 428.6 kB / 451.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.2052, allocations: 238.2 kB / 451.8 MB, free: 40.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.2057, allocations: 0.6733 MB / 452.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.2057, allocations: 32.45 kB / 452.5 MB, free: 40.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.2058, allocations: 237 kB / 452.7 MB, free: 40.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.2058, allocations: 64.08 kB / 452.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.2059, allocations: 59.11 kB / 452.8 MB, free: 40.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.206, allocations: 375.7 kB / 453.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.2061, allocations: 88.66 kB / 453.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.2063, allocations: 439.3 kB / 453.7 MB, free: 39.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.2065, allocations: 237.3 kB / 453.9 MB, free: 39.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2065, allocations: 2.812 kB / 453.9 MB, free: 39.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003323/0.2068, allocations: 330.3 kB / 454.2 MB, free: 39.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.2069, allocations: 6.375 kB / 454.3 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2069, allocations: 2.969 kB / 454.3 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2069, allocations: 5.562 kB / 454.3 MB, free: 39.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.207, allocations: 57.88 kB / 454.3 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2071, allocations: 3.094 kB / 454.3 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.2072, allocations: 42.53 kB / 454.4 MB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.2072, allocations: 12.88 kB / 454.4 MB, free: 39.29 MB / 410.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.0001548/0.2073, allocations: 219.6 kB / 454.6 MB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.2074, allocations: 56.83 kB / 454.6 MB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.2078, allocations: 382.4 kB / 455 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2078, allocations: 3.094 kB / 455 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.2078, allocations: 0 / 455 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2078, allocations: 11.53 kB / 455 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.208, allocations: 321 kB / 455.3 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2081, allocations: 7.156 kB / 455.4 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.275e-05/0.2081, allocations: 28.53 kB / 455.4 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.2081, allocations: 3.25 kB / 455.4 MB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.2081, allocations: 10.48 kB / 455.4 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2081, allocations: 5.656 kB / 455.4 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2081, allocations: 0 / 455.4 MB, free: 38.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.2085, allocations: 401 kB / 455.8 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.2086, allocations: 58.05 kB / 455.8 MB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.2086, allocations: 14.44 kB / 455.9 MB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.2087, allocations: 14.88 kB / 455.9 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.2087, allocations: 41.72 kB / 455.9 MB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.2088, allocations: 13.56 kB / 455.9 MB, free: 38.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003109/0.2091, allocations: 496.6 kB / 456.4 MB, free: 38.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2091, allocations: 0 / 456.4 MB, free: 38.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003115/0.2094, allocations: 108.5 kB / 456.5 MB, free: 38.27 MB / 410.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.0008654/0.2103, allocations: 0.491 MB / 457 MB, free: 38.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.2106, allocations: 233.6 kB / 457.2 MB, free: 38.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2106, allocations: 0 / 457.2 MB, free: 38.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.2108, allocations: 137.5 kB / 457.4 MB, free: 37.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.2112, allocations: 157.5 kB / 457.5 MB, free: 37.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009351/0.2121, allocations: 0.8736 MB / 458.4 MB, free: 37.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.2123, allocations: 254.4 kB / 458.7 MB, free: 37.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.962e-05/0.2124, allocations: 54.47 kB / 458.7 MB, free: 37.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/0.2124, allocations: 0 / 458.7 MB, free: 37.32 MB / 410.7 MB Notification: Performance of Templates: time 0.008035/0.2204, allocations: 7.493 MB / 466.2 MB, free: 36.38 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/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: 5.650593489408493]