Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.001143/0.001143, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0009235/0.0009235, 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.8871/0.8871, allocations: 177 MB / 204.1 MB, free: 5.75 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.2377/0.2377, allocations: 34.24 MB / 294.8 MB, free: 0.6875 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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 442.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.228e-05, allocations: 4.672 kB / 442.2 MB, free: 1.484 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.1719/0.1719, allocations: 1.666 MB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.173, allocations: 0.9664 MB / 444.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.1731, allocations: 0 / 444.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.1733, allocations: 48.66 kB / 444.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.1736, allocations: 105.8 kB / 445 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.1737, allocations: 82.28 kB / 445.1 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.1738, allocations: 94.06 kB / 445.2 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.1739, allocations: 14.56 kB / 445.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.302e-05/0.1739, allocations: 50.11 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.512e-05/0.174, allocations: 24.5 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.174, allocations: 5.125 kB / 445.3 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.101e-05/0.1741, allocations: 35.5 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.78e-05/0.1741, allocations: 24.34 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.1742, allocations: 26.73 kB / 445.4 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.1743, allocations: 116.4 kB / 445.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1743, allocations: 6.656 kB / 445.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1743, allocations: 0 / 445.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1743, allocations: 0 / 445.5 MB, free: 42.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003812/0.1747, allocations: 364.8 kB / 445.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1748, allocations: 9.312 kB / 445.9 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.368e-05/0.1748, allocations: 33.69 kB / 445.9 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.1748, allocations: 19.47 kB / 445.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.175, allocations: 161.6 kB / 446.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.175, allocations: 384 / 446.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.175, allocations: 3.438 kB / 446.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1751, allocations: 49.78 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1751, allocations: 1.922 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1752, allocations: 4.125 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1752, allocations: 2.844 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.408e-05/0.1752, allocations: 22.67 kB / 446.1 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.1753, allocations: 154.3 kB / 446.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.744e-05/0.1754, allocations: 56.33 kB / 446.3 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.1755, allocations: 20.97 kB / 446.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.1755, allocations: 0 / 446.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.1756, allocations: 71.55 kB / 446.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1756, allocations: 0 / 446.4 MB, free: 42.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001843/0.1758, allocations: 107.8 kB / 446.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.1758, allocations: 55.16 kB / 446.6 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1759, allocations: 272.4 kB / 446.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.1759, allocations: 29.7 kB / 446.9 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.176, allocations: 116.9 kB / 447 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.176, allocations: 11.84 kB / 447 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.176, allocations: 22.95 kB / 447 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.147e-05/0.176, allocations: 327.5 kB / 447.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.062e-05/0.1761, allocations: 19.3 kB / 447.4 MB, free: 41.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.182e-05/0.1761, allocations: 40.53 kB / 447.4 MB, free: 41.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.338e-05/0.1762, allocations: 44.72 kB / 447.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1762, allocations: 0 / 447.5 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.345e-05/0.1762, allocations: 93.64 kB / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1763, allocations: 6.969 kB / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1763, allocations: 3.938 kB / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1763, allocations: 2.844 kB / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.1763, allocations: 14.55 kB / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1763, allocations: 0 / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.1764, allocations: 2.656 kB / 447.6 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1764, allocations: 8.531 kB / 447.6 MB, free: 41.34 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 (7): * Single equations (assignments): 7 * 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.533e-05/0.1764, allocations: 132.9 kB / 447.7 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.1764, allocations: 20.98 kB / 447.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.1766, allocations: 105.2 kB / 447.8 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1766, allocations: 2.719 kB / 447.8 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1766, allocations: 0 / 447.8 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1766, allocations: 0 / 447.8 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.997e-05/0.1766, allocations: 169 kB / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1766, allocations: 0 / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/0.1767, allocations: 5.344 kB / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1767, allocations: 0 / 448 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.1767, allocations: 7.312 kB / 448 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1767, allocations: 2.875 kB / 448 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1767, allocations: 4 kB / 448 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.358e-05/0.1768, allocations: 122.1 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.1768, allocations: 10.53 kB / 448.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1768, allocations: 13.11 kB / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.1768, allocations: 0 / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.1768, allocations: 6.094 kB / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1768, allocations: 2.625 kB / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.905e-05/0.1769, allocations: 206.6 kB / 448.4 MB, free: 40.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1769, allocations: 0 / 448.4 MB, free: 40.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001514/0.1771, allocations: 27.75 kB / 448.4 MB, free: 40.81 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: 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 (6): * Single equations (assignments): 4 * 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.0008009/0.1779, allocations: 0.9812 MB / 449.4 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.178, allocations: 48.12 kB / 449.4 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.178, allocations: 0 / 449.4 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.178, allocations: 23 kB / 449.5 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.1782, allocations: 31.27 kB / 449.5 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.1791, allocations: 1.694 MB / 451.2 MB, free: 38.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.922e-05/0.1792, allocations: 106.3 kB / 451.3 MB, free: 38.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.762e-05/0.1792, allocations: 12.17 kB / 451.3 MB, free: 38.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.1793, allocations: 41.39 kB / 451.3 MB, free: 38.67 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1793, allocations: 0 / 451.3 MB, free: 38.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.1938, allocations: 4.32 MB / 455.7 MB, free: 37.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.704/6.898, allocations: 0 / 455.7 MB, free: 37.24 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.837662681937218]