Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 105.9 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2224/0.2224, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB 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.001381/0.001381, allocations: 71.97 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1187, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002514/0.1212, allocations: 1.845 MB / 442.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1225, allocations: 0.8896 MB / 443.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1227, allocations: 4 kB / 443.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004083/0.1231, allocations: 227.4 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.1234, allocations: 167.4 kB / 443.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.1238, allocations: 147.5 kB / 443.9 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.124, allocations: 223.4 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1241, allocations: 17.5 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.1242, allocations: 123.5 kB / 444.3 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1243, allocations: 143.5 kB / 444.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.1244, allocations: 8 kB / 444.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-05/0.1245, allocations: 51.92 kB / 444.5 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.1245, allocations: 55.81 kB / 444.5 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.488e-05/0.1246, allocations: 71.38 kB / 444.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.1248, allocations: 211.3 kB / 444.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1248, allocations: 0 / 444.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1248, allocations: 0 / 444.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1248, allocations: 0 / 444.8 MB, free: 2.629 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005597/0.1254, allocations: 0.5447 MB / 445.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1255, allocations: 15.89 kB / 445.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.1255, allocations: 34.75 kB / 445.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.1255, allocations: 28.56 kB / 445.4 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.1258, allocations: 276.1 kB / 445.7 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1258, allocations: 12.25 kB / 445.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.1258, allocations: 7.938 kB / 445.7 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.126, allocations: 99.34 kB / 445.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.126, allocations: 3.938 kB / 445.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.126, allocations: 8 kB / 445.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.126, allocations: 0 / 445.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.846e-05/0.1261, allocations: 43.91 kB / 445.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.1265, allocations: 445 kB / 446.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.1267, allocations: 121.3 kB / 446.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.139e-05/0.1268, allocations: 37.7 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1268, allocations: 11.98 kB / 446.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.1271, allocations: 112.9 kB / 446.6 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.1271, allocations: 0 / 446.6 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007079/0.1278, allocations: 356 kB / 446.9 MB, free: 300 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1279, allocations: 96.97 kB / 447 MB, free: 184 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.1282, allocations: 428.5 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1283, allocations: 29.7 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1284, allocations: 148.4 kB / 447.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.1285, allocations: 55.2 kB / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.1285, allocations: 37.7 kB / 447.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1287, allocations: 346.8 kB / 448 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1288, allocations: 43.88 kB / 448.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1289, allocations: 78.5 kB / 448.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1291, allocations: 111.4 kB / 448.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1291, allocations: 4 kB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003255/0.1295, allocations: 181.3 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1295, allocations: 4 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1295, allocations: 0 / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1295, allocations: 4 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.1297, allocations: 39.86 kB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1297, allocations: 4.312 kB / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.088e-05/0.1298, allocations: 11.89 kB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1298, allocations: 4 kB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001628/0.13, allocations: 174.5 kB / 448.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1301, allocations: 23.72 kB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.1302, allocations: 42.61 kB / 448.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1302, allocations: 3.938 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1302, allocations: 0 / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.1302, allocations: 4 kB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007456/0.131, allocations: 0.628 MB / 449.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.131, allocations: 4 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.131, allocations: 19.98 kB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.131, allocations: 0 / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1311, allocations: 4 kB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1311, allocations: 0 / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1311, allocations: 7.938 kB / 449.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.1315, allocations: 372 kB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.1316, allocations: 96.83 kB / 449.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.1316, allocations: 7.984 kB / 449.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.1318, allocations: 11.98 kB / 449.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.1318, allocations: 11.98 kB / 449.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.1318, allocations: 8 kB / 449.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002983/0.1321, allocations: 323 kB / 450.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1321, allocations: 0 / 450.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.1325, allocations: 40 kB / 450.3 MB, free: 12.74 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001619/0.1341, allocations: 1.255 MB / 451.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.1344, allocations: 123.9 kB / 451.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1344, allocations: 0 / 451.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.1345, allocations: 55.92 kB / 451.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.1351, allocations: 67.62 kB / 451.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.1387, allocations: 2.645 MB / 454.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.1392, allocations: 0.767 MB / 455.2 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.1393, allocations: 37.88 kB / 455.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.1394, allocations: 79.39 kB / 455.3 MB, free: 7.633 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1394, allocations: 0 / 455.3 MB, free: 7.633 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.1646, allocations: 5.648 MB / 460.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.631/7.796, allocations: 4 kB / 460.9 MB, free: 1.949 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches