Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.001855/0.001855, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002708/0.002708, allocations: 217.7 kB / 22.99 MB, free: 4.977 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.55/1.55, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.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.2322/0.2322, allocations: 44.26 MB / 330.3 MB, free: 9.293 MB / 270.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.002299/0.002299, allocations: 67.91 kB / 467.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1331, allocations: 61.04 MB / 0.5162 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.004232/0.1373, allocations: 1.692 MB / 0.5179 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.139, allocations: 0.769 MB / 0.5186 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.414e-05/0.1391, allocations: 7.938 kB / 0.5186 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.1395, allocations: 35.83 kB / 0.5187 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.1397, allocations: 55.7 kB / 0.5187 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.14, allocations: 95.75 kB / 0.5188 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1402, allocations: 87.77 kB / 0.5189 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1403, allocations: 16.2 kB / 0.5189 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.534e-05/0.1403, allocations: 43.78 kB / 0.5189 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.1404, allocations: 35.73 kB / 0.519 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1405, allocations: 0 / 0.519 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1406, allocations: 47.91 kB / 0.519 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.1406, allocations: 23.92 kB / 0.519 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.1407, allocations: 15.88 kB / 0.5191 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1409, allocations: 107.6 kB / 0.5192 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1409, allocations: 0 / 0.5192 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.117e-06/0.1409, allocations: 8 kB / 0.5192 GB, free: 4.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1409, allocations: 0 / 0.5192 GB, free: 4.059 MB / 398.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.0005994/0.1415, allocations: 325.7 kB / 0.5195 GB, free: 3.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1416, allocations: 12.03 kB / 0.5195 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.1416, allocations: 34.75 kB / 0.5195 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.1417, allocations: 8.891 kB / 0.5195 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.142, allocations: 146.7 kB / 0.5197 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.1421, allocations: 8 kB / 0.5197 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.1421, allocations: 0 / 0.5197 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1423, allocations: 57.67 kB / 0.5197 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1423, allocations: 4 kB / 0.5197 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.1423, allocations: 3.984 kB / 0.5197 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1423, allocations: 0 / 0.5197 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.769e-05/0.1424, allocations: 23.92 kB / 0.5198 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.1429, allocations: 248 kB / 0.52 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.1432, allocations: 50.67 kB / 0.52 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.1432, allocations: 20.84 kB / 0.5201 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.1432, allocations: 7.938 kB / 0.5201 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.1435, allocations: 67.39 kB / 0.5201 GB, free: 2.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1435, allocations: 0 / 0.5201 GB, free: 2.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007089/0.1442, allocations: 181.3 kB / 0.5203 GB, free: 2.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.1443, allocations: 55.34 kB / 0.5204 GB, free: 2.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1445, allocations: 174.3 kB / 0.5205 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1445, allocations: 25.7 kB / 0.5206 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.1446, allocations: 96.14 kB / 0.5206 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.1446, allocations: 27.78 kB / 0.5207 GB, free: 2.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.1446, allocations: 21.72 kB / 0.5207 GB, free: 2.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1448, allocations: 318.8 kB / 0.521 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/0.1449, allocations: 27.98 kB / 0.521 GB, free: 1.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.35e-05/0.1449, allocations: 37.7 kB / 0.5211 GB, free: 1.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1451, allocations: 74.06 kB / 0.5211 GB, free: 1.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1451, allocations: 192 / 0.5211 GB, free: 1.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.1453, allocations: 97.53 kB / 0.5212 GB, free: 1.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1453, allocations: 11.94 kB / 0.5212 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.1453, allocations: 11.92 kB / 0.5212 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1453, allocations: 0 / 0.5212 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1454, allocations: 24.03 kB / 0.5213 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1454, allocations: 0 / 0.5213 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.1455, allocations: 0 / 0.5213 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.1455, allocations: 7.984 kB / 0.5213 GB, free: 1.684 MB / 398.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 0.0001172/0.1456, allocations: 117.8 kB / 0.5214 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1456, allocations: 15.94 kB / 0.5214 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.1459, allocations: 122.2 kB / 0.5215 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1459, allocations: 0 / 0.5215 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1459, allocations: 0 / 0.5215 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1459, allocations: 0 / 0.5215 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.1464, allocations: 378.3 kB / 0.5219 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1464, allocations: 0 / 0.5219 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.1465, allocations: 11.94 kB / 0.5219 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1465, allocations: 0 / 0.5219 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1465, allocations: 7.984 kB / 0.5219 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1465, allocations: 0 / 0.5219 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1465, allocations: 0 / 0.5219 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.1468, allocations: 216.2 kB / 0.5221 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.1468, allocations: 7.953 kB / 0.5221 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1468, allocations: 4.031 kB / 0.5221 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.1469, allocations: 3.984 kB / 0.5221 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1469, allocations: 11.98 kB / 0.5221 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.147, allocations: 7.938 kB / 0.5221 GB, free: 0.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1471, allocations: 127.9 kB / 0.5223 GB, free: 0.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1471, allocations: 0 / 0.5223 GB, free: 0.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1474, allocations: 27.94 kB / 0.5223 GB, free: 0.5547 MB / 398.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 (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.002496/0.1498, allocations: 1.129 MB / 0.5234 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.1501, allocations: 63.91 kB / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1501, allocations: 0 / 0.5235 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.977e-05/0.1501, allocations: 27.92 kB / 0.5235 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1505, allocations: 39.58 kB / 0.5235 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.1525, allocations: 1.6 MB / 0.5251 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.642e-05/0.1526, allocations: 79.33 kB / 0.5252 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.091e-05/0.1527, allocations: 12.8 kB / 0.5252 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.1528, allocations: 31.42 kB / 0.5252 GB, free: 13.48 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1528, allocations: 4 kB / 0.5252 GB, free: 13.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.1816, allocations: 3.944 MB / 0.5291 GB, free: 9.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.74, allocations: 0 / 0.5291 GB, free: 9.418 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_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_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.13403792027384]