Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37",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.001829/0.001828, allocations: 102.5 kB / 16.27 MB, free: 5.875 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.002258/0.002258, allocations: 192 kB / 17.2 MB, free: 5.527 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.65/1.65, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2288/0.2288, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.002992/0.002992, allocations: 73.5 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1296, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003115/0.1328, allocations: 1.648 MB / 442.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.134, allocations: 0.7867 MB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1341, allocations: 3.938 kB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.1345, allocations: 59.8 kB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.1348, allocations: 63.73 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.1351, allocations: 83.7 kB / 443.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1353, allocations: 103.7 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.847e-05/0.1354, allocations: 8.281 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.697e-05/0.1355, allocations: 47.77 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1356, allocations: 35.84 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1356, allocations: 4 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1357, allocations: 31.98 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.1358, allocations: 19.92 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.1358, allocations: 31.8 kB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.136, allocations: 95.64 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.136, allocations: 3.938 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.136, allocations: 4 kB / 443.7 MB, free: 3.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1361, allocations: 0 / 443.7 MB, free: 3.754 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005097/0.1366, allocations: 407 kB / 444 MB, free: 3.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1366, allocations: 15.89 kB / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.235e-05/0.1367, allocations: 34.73 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.1367, allocations: 8.844 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.137, allocations: 197 kB / 444.3 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.137, allocations: 8.375 kB / 444.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.137, allocations: 7.922 kB / 444.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.1371, allocations: 53.62 kB / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1371, allocations: 0 / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1372, allocations: 0 / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1372, allocations: 0 / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.41e-05/0.1372, allocations: 19.97 kB / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.1374, allocations: 177.7 kB / 444.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1376, allocations: 62.48 kB / 444.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.1376, allocations: 20.8 kB / 444.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.1377, allocations: 11.97 kB / 444.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.1379, allocations: 67.33 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.1379, allocations: 0 / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002551/0.1381, allocations: 93.48 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.1382, allocations: 55.41 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1383, allocations: 194.1 kB / 445.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.1383, allocations: 25.7 kB / 445.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.1383, allocations: 96.14 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1384, allocations: 15.89 kB / 445.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.1384, allocations: 17.72 kB / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.1385, allocations: 322.8 kB / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.1385, allocations: 16.19 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.704e-05/0.1386, allocations: 29.7 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.932e-05/0.1387, allocations: 49.7 kB / 445.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1387, allocations: 3.938 kB / 445.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000131/0.1388, allocations: 81.44 kB / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1388, allocations: 4 kB / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1388, allocations: 4 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1389, allocations: 0 / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.1389, allocations: 16.02 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.139, allocations: 0 / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.139, allocations: 11.94 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.139, allocations: 0 / 445.7 MB, free: 1.426 MB / 318.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 7.103e-05/0.1391, allocations: 141.2 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.1391, allocations: 7.906 kB / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.1392, allocations: 12.31 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1392, allocations: 0 / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1392, allocations: 0 / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1392, allocations: 4 kB / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.84e-05/0.1393, allocations: 189.6 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1393, allocations: 0 / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.1393, allocations: 4 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1393, allocations: 0 / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.1393, allocations: 0 / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1393, allocations: 3.938 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1394, allocations: 4 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.1395, allocations: 116.9 kB / 446.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.1395, allocations: 85.02 kB / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.1396, allocations: 4 kB / 446.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.395e-05/0.1396, allocations: 3.984 kB / 446.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1397, allocations: 7.938 kB / 446.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.1397, allocations: 3.938 kB / 446.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.561e-05/0.1398, allocations: 139.2 kB / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1398, allocations: 0 / 446.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000214/0.14, allocations: 20 kB / 446.5 MB, free: 0.6016 MB / 318.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.001259/0.1412, allocations: 0.9423 MB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.1414, allocations: 43.92 kB / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1414, allocations: 0 / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.188e-05/0.1415, allocations: 19.98 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1418, allocations: 37.94 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.1434, allocations: 1.469 MB / 449 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1436, allocations: 0.7041 MB / 449.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.649e-05/0.1437, allocations: 16.41 kB / 449.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.1438, allocations: 31.42 kB / 449.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1438, allocations: 0 / 449.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.1667, allocations: 2.985 MB / 452.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/7.834, allocations: 19.98 kB / 452.7 MB, free: 10.25 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0014 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches