Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 119.3 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 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 1.526/1.526, allocations: 207.6 MB / 230.4 MB, free: 4.016 MB / 174.1 MB " [Timeout remaining time 178] 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.3526/0.3526, allocations: 44.23 MB / 326.5 MB, free: 6.812 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 71.89 kB / 462.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3008, allocations: 60.99 MB / 0.511 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002752/0.3035, allocations: 1.678 MB / 0.5126 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3046, allocations: 0.7867 MB / 0.5134 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.21e-05/0.3047, allocations: 9.094 kB / 0.5134 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.305, allocations: 68.5 kB / 0.5134 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.3053, allocations: 58.03 kB / 0.5135 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.3055, allocations: 92.19 kB / 0.5136 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3056, allocations: 99.88 kB / 0.5137 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.77e-05/0.3057, allocations: 6.453 kB / 0.5137 GB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3058, allocations: 51.39 kB / 0.5137 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3059, allocations: 49.23 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.3059, allocations: 3.281 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.87e-05/0.306, allocations: 26.86 kB / 0.5138 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.3061, allocations: 18.7 kB / 0.5138 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.271e-05/0.3061, allocations: 26.78 kB / 0.5139 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.3064, allocations: 114.2 kB / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3064, allocations: 0 / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3064, allocations: 0 / 0.514 GB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3064, allocations: 0 / 0.514 GB, free: 10.84 MB / 382.1 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.0005076/0.3069, allocations: 402.7 kB / 0.5144 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3069, allocations: 12.92 kB / 0.5144 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.307, allocations: 32 kB / 0.5144 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.307, allocations: 13.12 kB / 0.5144 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.3073, allocations: 214.5 kB / 0.5146 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3073, allocations: 2.031 kB / 0.5146 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3073, allocations: 5.344 kB / 0.5146 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.3074, allocations: 51.86 kB / 0.5147 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3075, allocations: 0 / 0.5147 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3075, allocations: 7.984 kB / 0.5147 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3075, allocations: 1.875 kB / 0.5147 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.464e-05/0.3075, allocations: 15.73 kB / 0.5147 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.3077, allocations: 178.9 kB / 0.5149 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.3078, allocations: 52.8 kB / 0.5149 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.3079, allocations: 15.14 kB / 0.5149 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3079, allocations: 5.688 kB / 0.5149 GB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.3081, allocations: 71.98 kB / 0.515 GB, free: 9.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3081, allocations: 0 / 0.515 GB, free: 9.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002716/0.3083, allocations: 96.33 kB / 0.5151 GB, free: 9.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.3084, allocations: 51.41 kB / 0.5151 GB, free: 9.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.3085, allocations: 190 kB / 0.5153 GB, free: 9.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3085, allocations: 31.05 kB / 0.5154 GB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.3086, allocations: 100.6 kB / 0.5155 GB, free: 9.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.3086, allocations: 9.422 kB / 0.5155 GB, free: 9.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.3086, allocations: 27.33 kB / 0.5155 GB, free: 9.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.145e-05/0.3087, allocations: 321.5 kB / 0.5158 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-05/0.3088, allocations: 15.72 kB / 0.5158 GB, free: 8.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.3088, allocations: 28.58 kB / 0.5158 GB, free: 8.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.771e-05/0.3089, allocations: 47.92 kB / 0.5159 GB, free: 8.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3089, allocations: 3.938 kB / 0.5159 GB, free: 8.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001413/0.309, allocations: 82.16 kB / 0.516 GB, free: 8.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.309, allocations: 6.375 kB / 0.516 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3091, allocations: 0 / 0.516 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3091, allocations: 1.25 kB / 0.516 GB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.3092, allocations: 12.59 kB / 0.516 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.3092, allocations: 6.797 kB / 0.516 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.3092, allocations: 8.031 kB / 0.516 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.3092, allocations: 1.969 kB / 0.516 GB, free: 8.832 MB / 382.1 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 8.518e-05/0.3093, allocations: 127.3 kB / 0.5161 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.3093, allocations: 12.06 kB / 0.5161 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.3094, allocations: 12.44 kB / 0.5161 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3094, allocations: 1.375 kB / 0.5161 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3094, allocations: 0 / 0.5161 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3094, allocations: 0 / 0.5161 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.3095, allocations: 188.7 kB / 0.5163 GB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3095, allocations: 4.312 kB / 0.5163 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.3095, allocations: 12.11 kB / 0.5163 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3095, allocations: 0 / 0.5163 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3095, allocations: 1.375 kB / 0.5163 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3095, allocations: 0 / 0.5163 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3095, allocations: 1.375 kB / 0.5163 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.3097, allocations: 108.6 kB / 0.5164 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.3097, allocations: 87.75 kB / 0.5165 GB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.3098, allocations: 5.375 kB / 0.5165 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.338e-05/0.3098, allocations: 5.312 kB / 0.5165 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.3098, allocations: 6.734 kB / 0.5165 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.3098, allocations: 1.375 kB / 0.5165 GB, free: 8.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.31, allocations: 145.2 kB / 0.5167 GB, free: 8.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.31, allocations: 1.375 kB / 0.5167 GB, free: 8.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.3102, allocations: 16.38 kB / 0.5167 GB, free: 8.141 MB / 382.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001564/0.3117, allocations: 0.9704 MB / 0.5177 GB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.3119, allocations: 43.3 kB / 0.5177 GB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3119, allocations: 0 / 0.5177 GB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.432e-05/0.3119, allocations: 17.61 kB / 0.5177 GB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.3122, allocations: 20.36 kB / 0.5177 GB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.3135, allocations: 1.486 MB / 0.5192 GB, free: 5.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.3137, allocations: 0.6936 MB / 0.5199 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.439e-05/0.3137, allocations: 12.98 kB / 0.5199 GB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.3138, allocations: 28.98 kB / 0.5199 GB, free: 5.184 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3138, allocations: 3.938 kB / 0.5199 GB, free: 5.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.3358, allocations: 3.087 MB / 0.5229 GB, free: 2.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.384, allocations: 11.91 kB / 0.5229 GB, free: 2.223 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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: 11.42596565792337]