Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.000842/0.000842, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008601/0.0008601, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9069/0.9069, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.138/0.138, allocations: 32.37 MB / 269.6 MB, free: 14.95 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.323e-05, allocations: 5.656 kB / 406.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002398/0.002421, allocations: 1.68 MB / 408.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.004, allocations: 1.474 MB / 410.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.026e-05/0.004071, allocations: 4 kB / 410.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.004358, allocations: 47.7 kB / 410.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.00458, allocations: 55.7 kB / 410.2 MB, free: 10.15 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.004771, allocations: 91.62 kB / 410.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.004916, allocations: 107.6 kB / 410.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.571e-05/0.005002, allocations: 4.234 kB / 410.4 MB, free: 9.953 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.41e-05/0.005076, allocations: 43.91 kB / 410.4 MB, free: 9.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.005168, allocations: 31.89 kB / 410.5 MB, free: 9.879 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.005187, allocations: 8 kB / 410.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.005291, allocations: 67.8 kB / 410.5 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.005342, allocations: 19.91 kB / 410.5 MB, free: 9.785 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.005379, allocations: 19.92 kB / 410.6 MB, free: 9.766 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.005568, allocations: 123.6 kB / 410.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005571, allocations: 0 / 410.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005572, allocations: 0 / 410.7 MB, free: 9.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.005577, allocations: 3.938 kB / 410.7 MB, free: 9.641 MB / 346.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.0004321/0.006009, allocations: 329.7 kB / 411 MB, free: 9.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.006045, allocations: 8.031 kB / 411 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.006075, allocations: 42.73 kB / 411.1 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.006106, allocations: 8.891 kB / 411.1 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.006324, allocations: 141.6 kB / 411.2 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.006336, allocations: 8.312 kB / 411.2 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.006354, allocations: 4.375 kB / 411.2 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.006504, allocations: 97.41 kB / 411.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.006513, allocations: 0 / 411.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.006523, allocations: 3.984 kB / 411.3 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.006527, allocations: 0 / 411.3 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.178e-05/0.006579, allocations: 31.91 kB / 411.4 MB, free: 8.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.00686, allocations: 248 kB / 411.6 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.00698, allocations: 62.61 kB / 411.7 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.007012, allocations: 20.84 kB / 411.7 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.007026, allocations: 4 kB / 411.7 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.007146, allocations: 67.39 kB / 411.7 MB, free: 8.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.007147, allocations: 4 kB / 411.8 MB, free: 8.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004096/0.007557, allocations: 173.4 kB / 411.9 MB, free: 8.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.007603, allocations: 81.11 kB / 412 MB, free: 8.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.00771, allocations: 157 kB / 412.2 MB, free: 8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.007724, allocations: 33.7 kB / 412.2 MB, free: 7.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.00777, allocations: 96.12 kB / 412.3 MB, free: 7.863 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.007798, allocations: 27.75 kB / 412.3 MB, free: 7.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.007835, allocations: 29.64 kB / 412.3 MB, free: 7.801 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.007917, allocations: 326.8 kB / 412.7 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.859e-05/0.007956, allocations: 20 kB / 412.7 MB, free: 7.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.008009, allocations: 72.25 kB / 412.7 MB, free: 7.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.717e-05/0.008086, allocations: 53.72 kB / 412.8 MB, free: 7.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.008087, allocations: 0 / 412.8 MB, free: 7.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001286/0.008216, allocations: 105.6 kB / 412.9 MB, free: 7.199 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.008231, allocations: 6.656 kB / 412.9 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.008236, allocations: 4 kB / 412.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.008247, allocations: 0 / 412.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.008316, allocations: 19.98 kB / 412.9 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.008322, allocations: 8.266 kB / 412.9 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.008356, allocations: 4 kB / 412.9 MB, free: 7.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.008362, allocations: 7.938 kB / 412.9 MB, free: 7.152 MB / 346.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 7.485e-05/0.008437, allocations: 121.8 kB / 413.1 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.008457, allocations: 15.98 kB / 413.1 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.008622, allocations: 118.4 kB / 413.2 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.008625, allocations: 4 kB / 413.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.00863, allocations: 0 / 413.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.008633, allocations: 0 / 413.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.008949, allocations: 370.3 kB / 413.6 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.008951, allocations: 0 / 413.6 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.008976, allocations: 8 kB / 413.6 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.008979, allocations: 3.938 kB / 413.6 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.008988, allocations: 4 kB / 413.6 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.00899, allocations: 4.406 kB / 413.6 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.008993, allocations: 7.922 kB / 413.6 MB, free: 6.441 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.009159, allocations: 208.3 kB / 413.8 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.00917, allocations: 7.953 kB / 413.8 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.009187, allocations: 8 kB / 413.8 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.524e-05/0.009232, allocations: 7.984 kB / 413.8 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.009259, allocations: 7.938 kB / 413.8 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.009275, allocations: 7.984 kB / 413.8 MB, free: 6.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.116e-05/0.009336, allocations: 115.3 kB / 413.9 MB, free: 6.066 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009336, allocations: 0 / 413.9 MB, free: 6.066 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.00953, allocations: 43.86 kB / 414 MB, free: 6.023 MB / 346.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.001124/0.01065, allocations: 1.177 MB / 415.2 MB, free: 4.879 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.0108, allocations: 63.89 kB / 415.2 MB, free: 4.816 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01081, allocations: 0 / 415.2 MB, free: 4.816 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.449e-05/0.01085, allocations: 27.98 kB / 415.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.01109, allocations: 27.92 kB / 415.3 MB, free: 4.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.01242, allocations: 1.571 MB / 416.9 MB, free: 3.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.459e-05/0.01249, allocations: 91.64 kB / 416.9 MB, free: 2.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.371e-05/0.01254, allocations: 12.97 kB / 417 MB, free: 2.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.0126, allocations: 32.48 kB / 417 MB, free: 2.938 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/0.0126, allocations: 4 kB / 417 MB, free: 2.934 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.03156, allocations: 4.431 MB / 421.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.563/6.594, allocations: 7.844 kB / 421.4 MB, free: 14.35 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.598729397170246]