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.002075/0.002075, 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.002551/0.002551, allocations: 214.1 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.548/1.548, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2272/0.2272, allocations: 44.27 MB / 330.3 MB, free: 9.316 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.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.00241/0.00241, allocations: 78.64 kB / 467.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1153, allocations: 61.04 MB / 0.5162 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.004039/0.1193, allocations: 1.68 MB / 0.5179 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.121, allocations: 0.7883 MB / 0.5186 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.806e-05/0.1211, allocations: 0 / 0.5186 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.1215, allocations: 35.83 kB / 0.5187 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.1218, allocations: 55.7 kB / 0.5187 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.1221, allocations: 83.77 kB / 0.5188 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1223, allocations: 95.69 kB / 0.5189 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1224, allocations: 16.2 kB / 0.5189 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.222e-05/0.1224, allocations: 35.86 kB / 0.5189 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.156e-05/0.1225, allocations: 43.72 kB / 0.519 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.1226, allocations: 4 kB / 0.519 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1227, allocations: 43.98 kB / 0.519 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1228, allocations: 15.92 kB / 0.519 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.1228, allocations: 27.84 kB / 0.5191 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.1231, allocations: 99.59 kB / 0.5192 GB, free: 4.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1231, allocations: 0 / 0.5192 GB, free: 4.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1231, allocations: 0 / 0.5192 GB, free: 4.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1231, allocations: 0 / 0.5192 GB, free: 4.082 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.0005973/0.1237, allocations: 337.7 kB / 0.5195 GB, free: 3.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1237, allocations: 8.031 kB / 0.5195 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.1238, allocations: 34.75 kB / 0.5195 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.1238, allocations: 8.891 kB / 0.5195 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.1241, allocations: 146.7 kB / 0.5197 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1242, allocations: 4 kB / 0.5197 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1242, allocations: 4 kB / 0.5197 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1244, allocations: 57.66 kB / 0.5197 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1244, allocations: 0 / 0.5197 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1244, allocations: 0 / 0.5197 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1244, allocations: 0 / 0.5197 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.838e-05/0.1245, allocations: 23.92 kB / 0.5197 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.1249, allocations: 256 kB / 0.52 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.1251, allocations: 50.69 kB / 0.52 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.844e-05/0.1252, allocations: 20.84 kB / 0.5201 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.1252, allocations: 3.938 kB / 0.5201 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.1254, allocations: 71.33 kB / 0.5201 GB, free: 2.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.1254, allocations: 0 / 0.5201 GB, free: 2.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000599/0.126, allocations: 189.3 kB / 0.5203 GB, free: 2.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.126, allocations: 63.34 kB / 0.5204 GB, free: 2.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.1262, allocations: 162.4 kB / 0.5205 GB, free: 2.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1262, allocations: 25.7 kB / 0.5206 GB, free: 2.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.1263, allocations: 100.1 kB / 0.5206 GB, free: 2.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.1263, allocations: 27.78 kB / 0.5207 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.1264, allocations: 21.72 kB / 0.5207 GB, free: 2.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1265, allocations: 322.8 kB / 0.521 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.1266, allocations: 23.98 kB / 0.521 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.629e-05/0.1266, allocations: 34.08 kB / 0.5211 GB, free: 1.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.1268, allocations: 69.7 kB / 0.5211 GB, free: 1.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1268, allocations: 4 kB / 0.5211 GB, free: 1.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002056/0.127, allocations: 109.6 kB / 0.5212 GB, free: 1.738 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.127, allocations: 7.938 kB / 0.5212 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.127, allocations: 3.938 kB / 0.5212 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.127, allocations: 0 / 0.5212 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.1271, allocations: 20 kB / 0.5213 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1271, allocations: 0 / 0.5213 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.1272, allocations: 7.984 kB / 0.5213 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.1272, allocations: 0 / 0.5213 GB, free: 1.699 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.0001283/0.1273, allocations: 125.9 kB / 0.5214 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.1273, allocations: 7.953 kB / 0.5214 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.1276, allocations: 122.2 kB / 0.5215 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1276, allocations: 4 kB / 0.5215 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1276, allocations: 0 / 0.5215 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1276, allocations: 3.984 kB / 0.5215 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.1281, allocations: 362.3 kB / 0.5219 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1281, allocations: 0 / 0.5219 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.1281, allocations: 15.92 kB / 0.5219 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1281, allocations: 4.031 kB / 0.5219 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1281, allocations: 4 kB / 0.5219 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1281, allocations: 0 / 0.5219 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1282, allocations: 0 / 0.5219 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1284, allocations: 228.4 kB / 0.5221 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.1284, allocations: 7.953 kB / 0.5221 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.1285, allocations: 3.984 kB / 0.5221 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.1285, allocations: 4 kB / 0.5221 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1286, allocations: 11.98 kB / 0.5221 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1286, allocations: 0 / 0.5221 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1287, allocations: 131.9 kB / 0.5223 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1287, allocations: 4 kB / 0.5223 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.129, allocations: 23.94 kB / 0.5223 GB, free: 0.5664 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.002467/0.1315, allocations: 1.125 MB / 0.5234 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.1317, allocations: 67.89 kB / 0.5235 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1317, allocations: 0 / 0.5235 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.028e-05/0.1317, allocations: 31.92 kB / 0.5235 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1321, allocations: 35.67 kB / 0.5235 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.1342, allocations: 1.596 MB / 0.5251 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.262e-05/0.1343, allocations: 87.44 kB / 0.5252 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.859e-05/0.1343, allocations: 12.81 kB / 0.5252 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.1344, allocations: 31.42 kB / 0.5252 GB, free: 13.49 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1344, allocations: 0 / 0.5252 GB, free: 13.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03554/0.1699, allocations: 3.941 MB / 0.5291 GB, free: 9.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.78, allocations: 4.062 kB / 0.5291 GB, free: 9.43 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.154128889087588]