Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",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.001056/0.001056, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001073/0.001073, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2034/0.2034, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 60.34 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1103, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003026/0.1134, allocations: 1.66 MB / 471 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1147, allocations: 0.8536 MB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.479e-05/0.1148, allocations: 3.938 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.115, allocations: 55.8 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.1153, allocations: 59.75 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.1155, allocations: 106.2 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1157, allocations: 95.69 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.1158, allocations: 4 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.881e-05/0.1158, allocations: 47.78 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-05/0.1159, allocations: 35.84 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.116, allocations: 4 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.783e-05/0.116, allocations: 35.97 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.1161, allocations: 27.86 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.287e-05/0.1162, allocations: 27.81 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.1163, allocations: 91.98 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1164, allocations: 0 / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1164, allocations: 3.938 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.1164, allocations: 0 / 472.5 MB, free: 11.13 MB / 350.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.0005181/0.1169, allocations: 405.9 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.117, allocations: 12.02 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.229e-05/0.117, allocations: 34.75 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.117, allocations: 8.844 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.1173, allocations: 201.7 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1173, allocations: 8.359 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.1173, allocations: 3.938 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1174, allocations: 45.69 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1175, allocations: 0 / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1175, allocations: 0 / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1175, allocations: 3.984 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.798e-05/0.1176, allocations: 16 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.1177, allocations: 177.7 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1179, allocations: 58.48 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.118, allocations: 16.86 kB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.118, allocations: 7.984 kB / 473.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.1182, allocations: 67.39 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.1182, allocations: 0 / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000275/0.1185, allocations: 97.5 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.1185, allocations: 55.41 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1187, allocations: 173.8 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1187, allocations: 25.7 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.1188, allocations: 100.1 kB / 473.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.1188, allocations: 15.81 kB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.1189, allocations: 17.72 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.119, allocations: 322.8 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.1191, allocations: 15.98 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.794e-05/0.1191, allocations: 25.72 kB / 474.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.985e-05/0.1192, allocations: 57.83 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1192, allocations: 7.938 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001586/0.1194, allocations: 77.58 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1194, allocations: 4 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1194, allocations: 4 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1195, allocations: 0 / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.1195, allocations: 11.94 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1195, allocations: 160 / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.1196, allocations: 7.906 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.1196, allocations: 0 / 474.5 MB, free: 8.852 MB / 350.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 9.836e-05/0.1197, allocations: 137.8 kB / 474.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.1197, allocations: 7.906 kB / 474.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.1198, allocations: 20.22 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1198, allocations: 4 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1198, allocations: 0 / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1198, allocations: 0 / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.1199, allocations: 181.6 kB / 474.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.12, allocations: 0 / 474.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.12, allocations: 4 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.12, allocations: 0 / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.12, allocations: 8 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.12, allocations: 0 / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.12, allocations: 0 / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.1202, allocations: 112.9 kB / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.1203, allocations: 81.02 kB / 475 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.1203, allocations: 7.984 kB / 475.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.56e-05/0.1203, allocations: 128 / 475.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.1204, allocations: 16 kB / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1204, allocations: 0 / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1205, allocations: 135.1 kB / 475.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1205, allocations: 0 / 475.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.1207, allocations: 16 kB / 475.2 MB, free: 8.035 MB / 350.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.001262/0.122, allocations: 0.9565 MB / 476.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.1222, allocations: 43.98 kB / 476.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1222, allocations: 0 / 476.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.352e-05/0.1223, allocations: 23.92 kB / 476.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.1225, allocations: 23.73 kB / 476.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.124, allocations: 1.45 MB / 477.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1243, allocations: 0.6971 MB / 478.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.771e-05/0.1243, allocations: 8.562 kB / 478.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.1244, allocations: 31.42 kB / 478.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1244, allocations: 0 / 478.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.1438, allocations: 2.94 MB / 481.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/7.375, allocations: 11.08 kB / 481.4 MB, free: 1.945 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches