Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.001926/0.001926, allocations: 113.7 kB / 17.13 MB, free: 5.914 MB / 14.72 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.002003/0.002003, allocations: 211.2 kB / 20.1 MB, free: 2.961 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.456/1.456, allocations: 207.6 MB / 230.5 MB, free: 4.023 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.3229/0.3229, allocations: 44.23 MB / 326.6 MB, free: 6.797 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.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.91 kB / 462.3 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2322, allocations: 61 MB / 0.511 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002475/0.2346, allocations: 1.714 MB / 0.5127 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2357, allocations: 0.8105 MB / 0.5135 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.2357, allocations: 6.969 kB / 0.5135 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.236, allocations: 35.11 kB / 0.5135 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.2362, allocations: 55.23 kB / 0.5136 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.2364, allocations: 77.61 kB / 0.5136 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.2366, allocations: 105.5 kB / 0.5137 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.2367, allocations: 17 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.652e-05/0.2367, allocations: 39.92 kB / 0.5138 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.854e-05/0.2368, allocations: 37.98 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2368, allocations: 3.781 kB / 0.5138 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.492e-05/0.2369, allocations: 42.45 kB / 0.5139 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.237, allocations: 9.781 kB / 0.5139 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.237, allocations: 39.34 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.2372, allocations: 104.4 kB / 0.514 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2372, allocations: 3.984 kB / 0.514 GB, free: 10.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2372, allocations: 0 / 0.514 GB, free: 10.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.2372, allocations: 1.188 kB / 0.514 GB, free: 10.92 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004557/0.2376, allocations: 412 kB / 0.5144 GB, free: 10.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2377, allocations: 13.42 kB / 0.5144 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.536e-05/0.2377, allocations: 31.97 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.2377, allocations: 13.28 kB / 0.5145 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.2379, allocations: 206.5 kB / 0.5147 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.238, allocations: 2.438 kB / 0.5147 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.238, allocations: 1.156 kB / 0.5147 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.2381, allocations: 58.67 kB / 0.5147 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2381, allocations: 0 / 0.5147 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2381, allocations: 5.484 kB / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2381, allocations: 0 / 0.5147 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.204e-05/0.2382, allocations: 23.45 kB / 0.5148 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.2385, allocations: 275.2 kB / 0.515 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.2386, allocations: 56.7 kB / 0.5151 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.736e-05/0.2387, allocations: 20.41 kB / 0.5151 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.2387, allocations: 2.094 kB / 0.5151 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.2388, allocations: 68.08 kB / 0.5152 GB, free: 9.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.2388, allocations: 3.984 kB / 0.5152 GB, free: 9.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004963/0.2393, allocations: 182.2 kB / 0.5153 GB, free: 9.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.2394, allocations: 63.28 kB / 0.5154 GB, free: 9.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2395, allocations: 157 kB / 0.5156 GB, free: 9.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.2395, allocations: 26.95 kB / 0.5156 GB, free: 9.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.2395, allocations: 96.58 kB / 0.5157 GB, free: 9.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.2395, allocations: 24 kB / 0.5157 GB, free: 9.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.2396, allocations: 24.56 kB / 0.5157 GB, free: 9.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.2396, allocations: 325.5 kB / 0.516 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.336e-05/0.2397, allocations: 18.89 kB / 0.5161 GB, free: 8.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-05/0.2397, allocations: 43.45 kB / 0.5161 GB, free: 8.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.68e-05/0.2398, allocations: 58.41 kB / 0.5161 GB, free: 8.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2398, allocations: 0 / 0.5161 GB, free: 8.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001574/0.24, allocations: 106.8 kB / 0.5162 GB, free: 8.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.24, allocations: 5.5 kB / 0.5163 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.24, allocations: 5.312 kB / 0.5163 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.24, allocations: 5.406 kB / 0.5163 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.2401, allocations: 20.36 kB / 0.5163 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.2401, allocations: 1.375 kB / 0.5163 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.2401, allocations: 1.375 kB / 0.5163 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.2401, allocations: 2.75 kB / 0.5163 GB, free: 8.75 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 (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 5.964e-05/0.2402, allocations: 116.7 kB / 0.5164 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.2402, allocations: 17.44 kB / 0.5164 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.2403, allocations: 16.78 kB / 0.5164 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2403, allocations: 1.375 kB / 0.5164 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2403, allocations: 4 kB / 0.5164 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2403, allocations: 0 / 0.5164 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.2406, allocations: 391.8 kB / 0.5168 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2406, allocations: 0 / 0.5168 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.2406, allocations: 12.19 kB / 0.5168 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2406, allocations: 5.359 kB / 0.5168 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2406, allocations: 1.375 kB / 0.5168 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2406, allocations: 1.453 kB / 0.5168 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2406, allocations: 4.016 kB / 0.5168 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.2408, allocations: 208.3 kB / 0.517 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.2408, allocations: 83.81 kB / 0.5171 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.2408, allocations: 5.375 kB / 0.5171 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.2409, allocations: 5.359 kB / 0.5171 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.241, allocations: 4.312 kB / 0.5171 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.241, allocations: 6.75 kB / 0.5171 GB, free: 7.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.14e-05/0.241, allocations: 133.9 kB / 0.5173 GB, free: 7.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.241, allocations: 3.938 kB / 0.5173 GB, free: 7.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.2413, allocations: 24.48 kB / 0.5173 GB, free: 7.801 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.001864/0.2432, allocations: 1.096 MB / 0.5184 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.2433, allocations: 55.44 kB / 0.5184 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2433, allocations: 0 / 0.5184 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.738e-05/0.2434, allocations: 36.59 kB / 0.5184 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.2437, allocations: 28.45 kB / 0.5185 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.245, allocations: 1.564 MB / 0.52 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.2451, allocations: 0.7079 MB / 0.5207 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.517e-05/0.2452, allocations: 12.88 kB / 0.5207 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.2452, allocations: 35.42 kB / 0.5207 GB, free: 4.52 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.2452, allocations: 0 / 0.5207 GB, free: 4.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.2677, allocations: 3.278 MB / 0.5239 GB, free: 1.176 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/8.681, allocations: 10.77 kB / 0.524 GB, free: 1.168 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.592514534000657]