Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.0008106/0.0008106, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007824/0.0007824, allocations: 170.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.8909/0.8909, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.2562/0.2562, allocations: 32.79 MB / 293.5 MB, free: 1.215 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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0 / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.793e-05, allocations: 4.25 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003284/0.003312, allocations: 1.673 MB / 441.3 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.00504, allocations: 0.9547 MB / 442.3 MB, free: 1.512 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.005138, allocations: 7.938 kB / 442.3 MB, free: 1.504 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.005483, allocations: 51.75 kB / 442.3 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000408/0.005891, allocations: 107.5 kB / 442.5 MB, free: 1.348 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.006112, allocations: 75.61 kB / 442.5 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.006311, allocations: 99.69 kB / 442.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.00636, allocations: 4.234 kB / 442.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.006482, allocations: 55.77 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.006569, allocations: 23.92 kB / 442.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.006589, allocations: 8 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.006687, allocations: 31.92 kB / 442.7 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.006761, allocations: 35.84 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.006805, allocations: 19.92 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.007018, allocations: 115.6 kB / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.007022, allocations: 3.938 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.007023, allocations: 0 / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.007029, allocations: 0 / 442.9 MB, free: 0.8828 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.0005521/0.007581, allocations: 373.3 kB / 443.3 MB, free: 500 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.007627, allocations: 8.031 kB / 443.3 MB, free: 492 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.007665, allocations: 38.73 kB / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.007706, allocations: 16.88 kB / 443.3 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.007979, allocations: 154.5 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.007995, allocations: 8.375 kB / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.008007, allocations: 384 / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.008158, allocations: 53.98 kB / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.008166, allocations: 0 / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.008175, allocations: 0 / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.008181, allocations: 0 / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.472e-05/0.008255, allocations: 19.92 kB / 443.6 MB, free: 156 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1656/0.1739, allocations: 162.9 kB / 443.7 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1741, allocations: 51.08 kB / 443.8 MB, free: 43.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.1741, allocations: 17.67 kB / 443.8 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.1741, allocations: 2.844 kB / 443.8 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.1743, allocations: 68.31 kB / 443.9 MB, free: 43.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 3.036e-06/0.1743, allocations: 0 / 443.9 MB, free: 43.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002429/0.1745, allocations: 108 kB / 444 MB, free: 43.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.1746, allocations: 52.09 kB / 444 MB, free: 43.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.1747, allocations: 277.8 kB / 444.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.1747, allocations: 26.27 kB / 444.3 MB, free: 43.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.1748, allocations: 114.6 kB / 444.4 MB, free: 43.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1748, allocations: 19.28 kB / 444.5 MB, free: 43.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.1748, allocations: 22.23 kB / 444.5 MB, free: 43.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.351e-05/0.1749, allocations: 326.1 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.1749, allocations: 22.81 kB / 444.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.1749, allocations: 30.02 kB / 444.8 MB, free: 43.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/0.175, allocations: 46.5 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.175, allocations: 1.406 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.092e-05/0.1751, allocations: 89.08 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1751, allocations: 7.406 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1751, allocations: 0 / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1751, allocations: 0 / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.1752, allocations: 21.28 kB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.1752, allocations: 0 / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.1752, allocations: 4.312 kB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1752, allocations: 3.344 kB / 445 MB, free: 43.1 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.201e-05/0.1753, allocations: 142.8 kB / 445.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.1753, allocations: 13.88 kB / 445.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.1754, allocations: 100.6 kB / 445.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1754, allocations: 2.844 kB / 445.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1755, allocations: 3.938 kB / 445.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1755, allocations: 0 / 445.3 MB, free: 42.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.206e-05/0.1755, allocations: 164.7 kB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1755, allocations: 4.406 kB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.1756, allocations: 9.422 kB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1756, allocations: 0 / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1756, allocations: 8.062 kB / 445.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1756, allocations: 0 / 445.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1756, allocations: 3.938 kB / 445.5 MB, free: 42.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.252e-05/0.1757, allocations: 124.7 kB / 445.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.1757, allocations: 12.12 kB / 445.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.1757, allocations: 5.719 kB / 445.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.92e-05/0.1757, allocations: 0 / 445.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1757, allocations: 13.58 kB / 445.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.1758, allocations: 5.469 kB / 445.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.975e-05/0.1758, allocations: 209.1 kB / 445.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1758, allocations: 0 / 445.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001527/0.176, allocations: 23.5 kB / 445.8 MB, free: 42.62 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.0008442/0.1768, allocations: 0.9748 MB / 446.8 MB, free: 42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.177, allocations: 46.38 kB / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.177, allocations: 0 / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.177, allocations: 24.42 kB / 446.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.1772, allocations: 39.44 kB / 446.9 MB, free: 41.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009943/0.1782, allocations: 1.689 MB / 448.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.628e-05/0.1782, allocations: 111.7 kB / 448.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.488e-05/0.1783, allocations: 15.06 kB / 448.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.1783, allocations: 48.78 kB / 448.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of SimCode: time 1.001e-06/0.1783, allocations: 0 / 448.8 MB, free: 40.74 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.1948, allocations: 4.321 MB / 453.1 MB, free: 39.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.599/6.794, allocations: 3.875 kB / 453.1 MB, free: 39.36 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.739002723246813]