Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",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.001282/0.001283, allocations: 101.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.001084/0.001084, allocations: 190.5 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.684/1.684, 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.2146/0.2146, allocations: 43.52 MB / 313.9 MB, free: 0.5156 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.002139/0.002139, allocations: 67.67 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1281, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003238/0.1314, allocations: 1.652 MB / 442.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.1326, allocations: 0.7827 MB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.457e-05/0.1327, allocations: 4 kB / 443.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.133, allocations: 67.72 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.1333, allocations: 67.73 kB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1335, allocations: 75.78 kB / 443.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.1337, allocations: 103.7 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.1337, allocations: 4.281 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.877e-05/0.1338, allocations: 47.83 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.134, allocations: 47.72 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.134, allocations: 4 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.974e-05/0.1341, allocations: 24 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.565e-05/0.1341, allocations: 19.97 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.1342, allocations: 35.73 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1344, allocations: 99.64 kB / 443.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1344, allocations: 0 / 443.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1344, allocations: 4 kB / 443.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1344, allocations: 0 / 443.7 MB, free: 3.742 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.0004782/0.1349, allocations: 402.9 kB / 444 MB, free: 3.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.135, allocations: 19.89 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.135, allocations: 34.73 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.135, allocations: 8.844 kB / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.1352, allocations: 205.2 kB / 444.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1353, allocations: 384 / 444.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.1353, allocations: 3.938 kB / 444.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1354, allocations: 49.67 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1355, allocations: 0 / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1355, allocations: 0 / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1355, allocations: 0 / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.785e-05/0.1356, allocations: 23.92 kB / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.1357, allocations: 177.7 kB / 444.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.1359, allocations: 58.53 kB / 444.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.136, allocations: 16.86 kB / 444.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.136, allocations: 4 kB / 444.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.1362, allocations: 75.27 kB / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.1362, allocations: 0 / 444.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002729/0.1365, allocations: 101.5 kB / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.1365, allocations: 55.41 kB / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.1367, allocations: 186.1 kB / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.1367, allocations: 25.7 kB / 445.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.1367, allocations: 104.1 kB / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.1368, allocations: 19.89 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.1368, allocations: 21.7 kB / 445.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.1369, allocations: 322.8 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/0.1369, allocations: 12 kB / 445.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.137, allocations: 29.64 kB / 445.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.143e-05/0.1371, allocations: 45.7 kB / 445.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1371, allocations: 7.938 kB / 445.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001279/0.1372, allocations: 81.44 kB / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1372, allocations: 8 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1372, allocations: 0 / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1373, allocations: 0 / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.619e-05/0.1373, allocations: 15.98 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1374, allocations: 4 kB / 445.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.1374, allocations: 3.938 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1374, allocations: 4 kB / 445.7 MB, free: 1.414 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 6.064e-05/0.1375, allocations: 129.8 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.1375, allocations: 11.89 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.1376, allocations: 12.31 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1376, allocations: 0 / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1376, allocations: 0 / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1376, allocations: 3.938 kB / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.1377, allocations: 189.6 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1377, allocations: 0 / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/0.1377, allocations: 4 kB / 446.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1377, allocations: 4 kB / 446.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1377, allocations: 0 / 446.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1377, allocations: 4.312 kB / 446.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1377, allocations: 0 / 446.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1379, allocations: 116.9 kB / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.1379, allocations: 84.95 kB / 446.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.138, allocations: 4 kB / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.353e-05/0.138, allocations: 3.984 kB / 446.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.138, allocations: 8 kB / 446.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.138, allocations: 0 / 446.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.49e-05/0.1381, allocations: 147.2 kB / 446.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1381, allocations: 0 / 446.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002046/0.1383, allocations: 15.94 kB / 446.5 MB, free: 0.5938 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.001129/0.1395, allocations: 0.9524 MB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.1396, allocations: 43.92 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1397, allocations: 0 / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.712e-05/0.1397, allocations: 19.98 kB / 447.5 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.14, allocations: 29.3 kB / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1415, allocations: 1.473 MB / 449 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1418, allocations: 0.704 MB / 449.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.031e-05/0.1418, allocations: 20.41 kB / 449.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.1419, allocations: 35.42 kB / 449.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1419, allocations: 0 / 449.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.1622, allocations: 2.981 MB / 452.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.689, allocations: 19.25 kB / 452.7 MB, free: 10.24 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches