Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001178/0.001178, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001524/0.001524, allocations: 174.3 kB / 23.95 MB, free: 0.6094 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.8933/0.8933, allocations: 177.2 MB / 204.3 MB, free: 5.73 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.2492/0.2492, allocations: 32.79 MB / 293.5 MB, free: 1.207 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.874e-05, allocations: 2.281 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002138/0.002157, allocations: 1.677 MB / 441.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.003318, allocations: 0.9576 MB / 442.3 MB, free: 1.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.042e-05/0.003398, allocations: 3.938 kB / 442.3 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.003671, allocations: 55.75 kB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.003954, allocations: 103.5 kB / 442.5 MB, free: 1.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.004124, allocations: 79.59 kB / 442.5 MB, free: 1.262 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.004266, allocations: 91.7 kB / 442.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.004303, allocations: 8.234 kB / 442.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.061e-05/0.004394, allocations: 63.75 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.004462, allocations: 19.92 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.004477, allocations: 4 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.111e-05/0.004548, allocations: 35.92 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.004612, allocations: 31.84 kB / 442.8 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.004647, allocations: 15.94 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.00481, allocations: 119.6 kB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004813, allocations: 3.938 kB / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004814, allocations: 0 / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004818, allocations: 0 / 442.9 MB, free: 0.875 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.0004226/0.005241, allocations: 377.3 kB / 443.3 MB, free: 488 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.005278, allocations: 8.031 kB / 443.3 MB, free: 480 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.005304, allocations: 30.75 kB / 443.3 MB, free: 440 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.005334, allocations: 12.89 kB / 443.3 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.005527, allocations: 154.5 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.005539, allocations: 384 / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.00555, allocations: 12.36 kB / 443.5 MB, free: 232 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.005656, allocations: 46 kB / 443.5 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.005664, allocations: 11.92 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.005672, allocations: 7.984 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.005676, allocations: 0 / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.479e-05/0.005721, allocations: 19.92 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1641/0.1699, allocations: 157.1 kB / 443.7 MB, free: 46.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.17, allocations: 45.31 kB / 443.8 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.17, allocations: 22.34 kB / 443.8 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.1701, allocations: 0 / 443.8 MB, free: 46.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.1702, allocations: 68.8 kB / 443.9 MB, free: 46.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.1702, allocations: 0 / 443.9 MB, free: 46.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002157/0.1704, allocations: 109.4 kB / 444 MB, free: 46.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.1704, allocations: 52.03 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1706, allocations: 277.8 kB / 444.3 MB, free: 46.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.1706, allocations: 30.33 kB / 444.3 MB, free: 46.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.1706, allocations: 112 kB / 444.4 MB, free: 46.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.1707, allocations: 22.67 kB / 444.5 MB, free: 46.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.1707, allocations: 18.62 kB / 444.5 MB, free: 46.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.497e-05/0.1707, allocations: 330.2 kB / 444.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-05/0.1708, allocations: 19.16 kB / 444.8 MB, free: 45.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.1708, allocations: 27.59 kB / 444.8 MB, free: 45.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.1708, allocations: 44.5 kB / 444.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1708, allocations: 1.5 kB / 444.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.062e-05/0.1709, allocations: 92.7 kB / 445 MB, free: 45.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.171, allocations: 5.656 kB / 445 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.171, allocations: 0 / 445 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.171, allocations: 0 / 445 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.171, allocations: 14.89 kB / 445 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.171, allocations: 5.312 kB / 445 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.528e-05/0.1711, allocations: 7.188 kB / 445 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.1711, allocations: 5.281 kB / 445 MB, free: 45.74 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 6.188e-05/0.1711, allocations: 136.4 kB / 445.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.1712, allocations: 13.75 kB / 445.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.1713, allocations: 98.48 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1713, allocations: 2.781 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1713, allocations: 3 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1713, allocations: 3.938 kB / 445.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.674e-05/0.1714, allocations: 171 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1714, allocations: 5.094 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/0.1714, allocations: 5.719 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1714, allocations: 0 / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.1714, allocations: 6.359 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1714, allocations: 0 / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1714, allocations: 2.75 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.185e-05/0.1715, allocations: 118.6 kB / 445.6 MB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.1715, allocations: 13.84 kB / 445.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.1715, allocations: 8.562 kB / 445.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.1716, allocations: 3.375 kB / 445.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.1716, allocations: 2.812 kB / 445.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1716, allocations: 14.19 kB / 445.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.536e-05/0.1717, allocations: 210 kB / 445.8 MB, free: 45.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1717, allocations: 0 / 445.8 MB, free: 45.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.1718, allocations: 19.97 kB / 445.8 MB, free: 45.26 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.0008001/0.1726, allocations: 0.9863 MB / 446.8 MB, free: 44.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.1727, allocations: 47.09 kB / 446.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1727, allocations: 0 / 446.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.339e-05/0.1728, allocations: 19.7 kB / 446.9 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.173, allocations: 33.59 kB / 446.9 MB, free: 44.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/0.1739, allocations: 1.691 MB / 448.6 MB, free: 43.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.119e-05/0.174, allocations: 112.5 kB / 448.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.598e-05/0.174, allocations: 14.39 kB / 448.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.1741, allocations: 44.47 kB / 448.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1741, allocations: 3.938 kB / 448.8 MB, free: 43.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.1898, allocations: 4.313 MB / 453.1 MB, free: 41.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.732/6.921, allocations: 6.469 kB / 453.1 MB, free: 41.8 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.847093291580677]