Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.0009203/0.0009203, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003941/0.003941, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8659/0.8659, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 34.25 MB / 295.6 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 443.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.101e-05, allocations: 5.094 kB / 443.5 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.1612/0.1613, allocations: 1.58 MB / 445 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006036/0.1619, allocations: 0.5178 MB / 445.5 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.1619, allocations: 2.812 kB / 445.6 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.1621, allocations: 31.5 kB / 445.6 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.1623, allocations: 75.69 kB / 445.7 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.1625, allocations: 92.72 kB / 445.7 MB, free: 43.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.1626, allocations: 70.39 kB / 445.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.307e-05/0.1627, allocations: 11.48 kB / 445.8 MB, free: 43.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.619e-05/0.1627, allocations: 29.12 kB / 445.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.1627, allocations: 12.3 kB / 445.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1628, allocations: 4.938 kB / 445.9 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.243e-05/0.1628, allocations: 39.16 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.1628, allocations: 17.44 kB / 445.9 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.1629, allocations: 11.5 kB / 445.9 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.163, allocations: 83.64 kB / 446 MB, free: 43.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.163, allocations: 2.906 kB / 446 MB, free: 43.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.163, allocations: 0 / 446 MB, free: 43.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.163, allocations: 0 / 446 MB, free: 43.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000285/0.1633, allocations: 314.5 kB / 446.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1633, allocations: 9.719 kB / 446.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.1633, allocations: 8.203 kB / 446.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.505e-05/0.1634, allocations: 144.3 kB / 446.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.1634, allocations: 3.531 kB / 446.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.1635, allocations: 384 / 446.5 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.704e-05/0.1635, allocations: 54.83 kB / 446.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1636, allocations: 192 / 446.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.1636, allocations: 4.375 kB / 446.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1636, allocations: 384 / 446.6 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.812e-05/0.1636, allocations: 25.33 kB / 446.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.1638, allocations: 216.3 kB / 446.8 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.1639, allocations: 46.03 kB / 446.8 MB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.164, allocations: 18.7 kB / 446.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.164, allocations: 0 / 446.8 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.047e-06/0.164, allocations: 33.88 kB / 446.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.52e-07/0.164, allocations: 0 / 446.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003195/0.1643, allocations: 149.8 kB / 447 MB, free: 42.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.1643, allocations: 57.66 kB / 447.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.1644, allocations: 165.7 kB / 447.2 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.568e-06/0.1644, allocations: 25.7 kB / 447.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.1644, allocations: 97.31 kB / 447.4 MB, free: 42.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.1645, allocations: 17.31 kB / 447.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.1645, allocations: 16.66 kB / 447.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.309e-05/0.1645, allocations: 317 kB / 447.7 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.185e-05/0.1645, allocations: 22.42 kB / 447.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.1646, allocations: 15.83 kB / 447.7 MB, free: 41.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.856e-05/0.1646, allocations: 57.12 kB / 447.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1646, allocations: 2.688 kB / 447.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.132e-05/0.1647, allocations: 90.25 kB / 447.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.1647, allocations: 5.688 kB / 447.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1647, allocations: 0 / 447.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1647, allocations: 0 / 447.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.461e-05/0.1648, allocations: 14.09 kB / 447.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.738e-06/0.1648, allocations: 4 kB / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.1648, allocations: 2.906 kB / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.1648, allocations: 2.531 kB / 447.9 MB, free: 41.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 3.638e-05/0.1648, allocations: 124.2 kB / 448 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.1648, allocations: 10.36 kB / 448.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.165, allocations: 95.17 kB / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.165, allocations: 0 / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.165, allocations: 0 / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.165, allocations: 0 / 448.1 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1651, allocations: 297.9 kB / 448.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1651, allocations: 6.297 kB / 448.4 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.1652, allocations: 14.33 kB / 448.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.1652, allocations: 0 / 448.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.1652, allocations: 0 / 448.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1652, allocations: 0 / 448.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1652, allocations: 6.594 kB / 448.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.149e-05/0.1653, allocations: 181.8 kB / 448.6 MB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-06/0.1653, allocations: 6.609 kB / 448.6 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.1653, allocations: 0 / 448.6 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.268e-05/0.1653, allocations: 10.16 kB / 448.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.1653, allocations: 10.05 kB / 448.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1653, allocations: 0 / 448.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.153e-05/0.1654, allocations: 123.3 kB / 448.8 MB, free: 41.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1654, allocations: 0 / 448.8 MB, free: 41.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001496/0.1655, allocations: 22.47 kB / 448.8 MB, free: 41.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0005904/0.1661, allocations: 430.4 kB / 449.2 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.1662, allocations: 41.42 kB / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1662, allocations: 0 / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.182e-05/0.1663, allocations: 31.08 kB / 449.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.1665, allocations: 17.53 kB / 449.3 MB, free: 40.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.1668, allocations: 211.7 kB / 449.5 MB, free: 40.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.783e-05/0.1668, allocations: 85.94 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.1668, allocations: 17.88 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1668, allocations: 0 / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of Templates: time 0.001824/0.1687, allocations: 1.482 MB / 451.1 MB, free: 40.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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: 4.673409863375127]