Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.0008968/0.0008968, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.000843/0.000843, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8562/0.8562, allocations: 177 MB / 204.1 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.2428/0.2428, allocations: 34.24 MB / 294.8 MB, free: 0.6914 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.181e-05, allocations: 6.219 kB / 442.2 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.1704/0.1705, allocations: 1.706 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009673/0.1714, allocations: 0.9854 MB / 444.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.1715, allocations: 0 / 444.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1718, allocations: 36.19 kB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.172, allocations: 96.89 kB / 445.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.1721, allocations: 80.25 kB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.1722, allocations: 108.7 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.1723, allocations: 14.14 kB / 445.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.1724, allocations: 51.98 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.1725, allocations: 26.17 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1725, allocations: 12.45 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.524e-05/0.1725, allocations: 39.28 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.1726, allocations: 23.88 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.1726, allocations: 17.05 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.1728, allocations: 117.2 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1728, allocations: 1.375 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1728, allocations: 0 / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1728, allocations: 0 / 445.5 MB, free: 42.84 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003732/0.1731, allocations: 349.9 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1732, allocations: 8.375 kB / 445.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.163e-05/0.1732, allocations: 37.69 kB / 445.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.1732, allocations: 15.75 kB / 445.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.1734, allocations: 149.5 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1734, allocations: 4.25 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.1735, allocations: 3.25 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.1736, allocations: 58.3 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1736, allocations: 192 / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.1736, allocations: 5.844 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1736, allocations: 0 / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.629e-05/0.1736, allocations: 18.84 kB / 446.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.1739, allocations: 258.9 kB / 446.4 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.174, allocations: 59.2 kB / 446.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.174, allocations: 29.22 kB / 446.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.174, allocations: 2.531 kB / 446.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.1741, allocations: 70.16 kB / 446.6 MB, free: 41.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1741, allocations: 0 / 446.6 MB, free: 41.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003708/0.1745, allocations: 193.6 kB / 446.8 MB, free: 41.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.1745, allocations: 51.41 kB / 446.8 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1746, allocations: 201.1 kB / 447 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.1746, allocations: 25.7 kB / 447.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.1746, allocations: 100.7 kB / 447.2 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.1747, allocations: 28.02 kB / 447.2 MB, free: 41.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.1747, allocations: 26.69 kB / 447.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.109e-05/0.1747, allocations: 322.5 kB / 447.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.496e-05/0.1748, allocations: 28.27 kB / 447.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.47e-05/0.1748, allocations: 37.66 kB / 447.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.391e-05/0.1749, allocations: 69.28 kB / 447.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1749, allocations: 0 / 447.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001023/0.175, allocations: 110.9 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.175, allocations: 3.062 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.175, allocations: 2.906 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.175, allocations: 0 / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.1751, allocations: 14.98 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1751, allocations: 2.844 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.1751, allocations: 2.781 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1751, allocations: 10.66 kB / 447.8 MB, free: 41.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.31e-05/0.1752, allocations: 131.2 kB / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.1752, allocations: 12.11 kB / 447.9 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.1753, allocations: 124.6 kB / 448.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1753, allocations: 2.594 kB / 448.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1753, allocations: 0 / 448.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.1753, allocations: 0 / 448.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.1756, allocations: 379.2 kB / 448.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1756, allocations: 0 / 448.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.1756, allocations: 12.34 kB / 448.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1756, allocations: 0 / 448.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1756, allocations: 6.938 kB / 448.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1756, allocations: 0 / 448.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1756, allocations: 2.875 kB / 448.5 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.1757, allocations: 213.5 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.1757, allocations: 10.72 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1757, allocations: 6.422 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.815e-05/0.1758, allocations: 6.812 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.1758, allocations: 13.98 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.1758, allocations: 7 kB / 448.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.169e-05/0.1759, allocations: 155.2 kB / 448.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1759, allocations: 0 / 448.9 MB, free: 40.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.176, allocations: 23.91 kB / 448.9 MB, free: 40.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000881/0.1769, allocations: 1.141 MB / 450 MB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.177, allocations: 54.75 kB / 450.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.177, allocations: 3.938 kB / 450.1 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.1771, allocations: 28.36 kB / 450.1 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.1773, allocations: 34.81 kB / 450.1 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009185/0.1782, allocations: 1.677 MB / 451.8 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.802e-05/0.1783, allocations: 94.67 kB / 451.9 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.723e-05/0.1783, allocations: 15.3 kB / 451.9 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.1784, allocations: 40.44 kB / 452 MB, free: 38.15 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1784, allocations: 0 / 452 MB, free: 38.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.1946, allocations: 4.273 MB / 456.2 MB, free: 36.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.926/7.12, allocations: 10.39 kB / 456.2 MB, free: 36.74 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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: 9.00632422696799]