Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001266/0.001266, 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.0008884/0.0008884, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8924/0.8924, allocations: 177 MB / 204.1 MB, free: 5.715 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.2765/0.2765, allocations: 34.23 MB / 294.8 MB, free: 0.7031 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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 442.3 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.819e-06/1.103e-05, allocations: 2.281 kB / 442.3 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.1713/0.1713, allocations: 1.724 MB / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1724, allocations: 0.9798 MB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.518e-05/0.1724, allocations: 6.281 kB / 445 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.1727, allocations: 86.08 kB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.173, allocations: 117.4 kB / 445.2 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.1731, allocations: 83.42 kB / 445.2 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1733, allocations: 127.7 kB / 445.4 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1734, allocations: 13.12 kB / 445.4 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.66e-05/0.1735, allocations: 63.94 kB / 445.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.525e-05/0.1736, allocations: 59.39 kB / 445.5 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1736, allocations: 3.094 kB / 445.5 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.059e-05/0.1737, allocations: 66.97 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.1737, allocations: 22.16 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.1738, allocations: 30.84 kB / 445.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.174, allocations: 134 kB / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.174, allocations: 0 / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.174, allocations: 0 / 445.8 MB, free: 42.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.174, allocations: 0 / 445.8 MB, free: 42.77 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003982/0.1744, allocations: 364.2 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1744, allocations: 13.34 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.382e-05/0.1744, allocations: 31.28 kB / 446.2 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.1745, allocations: 14.53 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.1746, allocations: 164.8 kB / 446.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1747, allocations: 3.312 kB / 446.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1747, allocations: 3.281 kB / 446.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1748, allocations: 68.36 kB / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1748, allocations: 192 / 446.4 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1748, allocations: 4.125 kB / 446.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1748, allocations: 0 / 446.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.068e-05/0.1748, allocations: 24.11 kB / 446.4 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.1751, allocations: 268.6 kB / 446.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1753, allocations: 62.95 kB / 446.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.1753, allocations: 21.22 kB / 446.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.1753, allocations: 4.156 kB / 446.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.1754, allocations: 67.64 kB / 446.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1754, allocations: 3.312 kB / 446.8 MB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.000511/0.176, allocations: 260.9 kB / 447.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.176, allocations: 54.12 kB / 447.2 MB, free: 41.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.1761, allocations: 220.3 kB / 447.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.1761, allocations: 31.7 kB / 447.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.1761, allocations: 117 kB / 447.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.1762, allocations: 29.05 kB / 447.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.1762, allocations: 31.45 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.954e-05/0.1762, allocations: 330.9 kB / 447.9 MB, free: 41.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.634e-05/0.1763, allocations: 30.66 kB / 447.9 MB, free: 41.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.245e-05/0.1763, allocations: 48.64 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.423e-05/0.1764, allocations: 80.66 kB / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1764, allocations: 0 / 448.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000116/0.1765, allocations: 128.1 kB / 448.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1765, allocations: 8.562 kB / 448.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1765, allocations: 1.688 kB / 448.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1765, allocations: 10.5 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.636e-05/0.1766, allocations: 23.89 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1766, allocations: 2.5 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.1766, allocations: 2.625 kB / 448.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1766, allocations: 2.688 kB / 448.2 MB, free: 41.09 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 (13): * Single equations (assignments): 13 * 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.302e-05/0.1766, allocations: 132.1 kB / 448.4 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.1767, allocations: 18.38 kB / 448.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.1768, allocations: 159.2 kB / 448.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1768, allocations: 0 / 448.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1768, allocations: 4 kB / 448.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1768, allocations: 0 / 448.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.1771, allocations: 431 kB / 449 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1771, allocations: 2.688 kB / 449 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.1771, allocations: 13.91 kB / 449 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1771, allocations: 0 / 449 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.1771, allocations: 10.11 kB / 449 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1771, allocations: 6.875 kB / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1771, allocations: 7.125 kB / 449 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.1773, allocations: 242 kB / 449.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.1773, allocations: 13.75 kB / 449.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1773, allocations: 10.16 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.1773, allocations: 6.75 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.1774, allocations: 12.56 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1774, allocations: 5 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.693e-05/0.1774, allocations: 174.4 kB / 449.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1774, allocations: 0 / 449.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.1776, allocations: 30.53 kB / 449.5 MB, free: 40.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0009562/0.1786, allocations: 1.222 MB / 450.7 MB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.1787, allocations: 79.36 kB / 450.8 MB, free: 39.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1787, allocations: 0 / 450.8 MB, free: 39.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.562e-05/0.1787, allocations: 40.05 kB / 450.8 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.179, allocations: 30.2 kB / 450.9 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.18, allocations: 1.836 MB / 452.7 MB, free: 37.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.338e-05/0.18, allocations: 102 kB / 452.8 MB, free: 37.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.849e-05/0.1801, allocations: 19.3 kB / 452.8 MB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.856e-05/0.1801, allocations: 47.48 kB / 452.9 MB, free: 37.77 MB / 410.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1801, allocations: 4 kB / 452.9 MB, free: 37.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.1986, allocations: 4.709 MB / 457.6 MB, free: 36.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.717/6.915, allocations: 3.938 kB / 457.6 MB, free: 36.31 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.901297610253096]