Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.001122/0.001122, allocations: 104.9 kB / 16.27 MB, free: 6.102 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.001192/0.001192, allocations: 185.9 kB / 17.19 MB, free: 5.723 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.373/1.373, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2307/0.2307, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001495/0.001495, allocations: 70.33 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1245, allocations: 57.78 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003067/0.1276, allocations: 1.901 MB / 442.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1287, allocations: 0.8388 MB / 443.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1289, allocations: 0 / 443.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.1292, allocations: 55.69 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.1294, allocations: 51.7 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1297, allocations: 107.7 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1299, allocations: 131.6 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.13, allocations: 33.41 kB / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.728e-05/0.1301, allocations: 55.72 kB / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.1302, allocations: 55.7 kB / 443.9 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.1302, allocations: 4 kB / 443.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.1303, allocations: 47.98 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.1304, allocations: 31.86 kB / 443.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.1304, allocations: 43.67 kB / 444 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1306, allocations: 143.5 kB / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1306, allocations: 0 / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1307, allocations: 0 / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1307, allocations: 4 kB / 444.1 MB, free: 3.289 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005412/0.1312, allocations: 480.5 kB / 444.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1313, allocations: 19.88 kB / 444.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.1313, allocations: 34.75 kB / 444.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.1314, allocations: 16.75 kB / 444.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1316, allocations: 220 kB / 444.9 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1316, allocations: 4.375 kB / 444.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.1316, allocations: 15.84 kB / 444.9 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.1318, allocations: 116.1 kB / 445 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1318, allocations: 0 / 445 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1319, allocations: 4 kB / 445 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1319, allocations: 0 / 445 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.132, allocations: 43.97 kB / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.1325, allocations: 0.5087 MB / 445.6 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.1328, allocations: 94.53 kB / 445.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.64e-05/0.1329, allocations: 40.83 kB / 445.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.1329, allocations: 3.938 kB / 445.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.1331, allocations: 87.36 kB / 445.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1332, allocations: 0 / 445.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003602/0.1335, allocations: 145.4 kB / 445.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.1336, allocations: 51.41 kB / 446 MB, free: 1.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1337, allocations: 191.4 kB / 446.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.1337, allocations: 33.7 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.1338, allocations: 112 kB / 446.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.1338, allocations: 31.62 kB / 446.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.1338, allocations: 33.62 kB / 446.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.1339, allocations: 318.8 kB / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.104e-05/0.134, allocations: 39.91 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.1341, allocations: 72.16 kB / 446.8 MB, free: 364 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.1342, allocations: 96.2 kB / 446.9 MB, free: 252 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1342, allocations: 0 / 446.9 MB, free: 252 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002148/0.1345, allocations: 133.8 kB / 447 MB, free: 112 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1345, allocations: 4 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1345, allocations: 8 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1345, allocations: 3.938 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.1346, allocations: 36.05 kB / 447.1 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1346, allocations: 0 / 447.1 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/0.1347, allocations: 11.91 kB / 447.1 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.1347, allocations: 7.984 kB / 447.1 MB, free: 40 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001306/0.1348, allocations: 129.8 kB / 447.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.1349, allocations: 11.81 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.1349, allocations: 25.39 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1349, allocations: 3.938 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1349, allocations: 0 / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.135, allocations: 4 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.1352, allocations: 213.5 kB / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1352, allocations: 0 / 447.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.1353, allocations: 12 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1353, allocations: 0 / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1353, allocations: 3.984 kB / 447.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1353, allocations: 3.938 kB / 447.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1353, allocations: 0 / 447.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.1357, allocations: 184.8 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.1358, allocations: 85.05 kB / 447.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.1358, allocations: 11.98 kB / 447.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.1359, allocations: 7.938 kB / 447.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1359, allocations: 3.984 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1359, allocations: 4 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1361, allocations: 141.2 kB / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1361, allocations: 4.062 kB / 447.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1363, allocations: 28.03 kB / 447.9 MB, free: 15.08 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (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.001496/0.1378, allocations: 1.018 MB / 449 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.1381, allocations: 91.84 kB / 449 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1381, allocations: 4 kB / 449.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.1382, allocations: 35.91 kB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1385, allocations: 41.89 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.1404, allocations: 1.723 MB / 450.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1407, allocations: 0.72 MB / 451.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.92e-05/0.1408, allocations: 17.41 kB / 451.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.793e-05/0.1409, allocations: 43.42 kB / 451.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1409, allocations: 3.938 kB / 451.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.1619, allocations: 3.683 MB / 455.3 MB, free: 7.605 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.044, allocations: 11.88 kB / 455.3 MB, free: 7.594 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches