Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",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.001172/0.001172, allocations: 103 kB / 16.27 MB, free: 5.93 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.001286/0.001286, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.674/1.674, 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.2309/0.2309, 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.001481/0.001481, allocations: 74.41 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1263, allocations: 57.8 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003312/0.1297, allocations: 1.686 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1308, allocations: 0.8 MB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.587e-05/0.1309, allocations: 7.938 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.1313, allocations: 99.72 kB / 443.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.1315, allocations: 91.64 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.1318, allocations: 91.62 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.132, allocations: 103.7 kB / 443.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1321, allocations: 16.17 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.1322, allocations: 51.77 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1323, allocations: 63.81 kB / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.1323, allocations: 8 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.61e-05/0.1324, allocations: 39.98 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.1325, allocations: 23.92 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.266e-05/0.1326, allocations: 47.59 kB / 443.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.1328, allocations: 123.6 kB / 443.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1328, allocations: 0 / 443.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1328, allocations: 0 / 443.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1328, allocations: 0 / 443.9 MB, free: 3.539 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005785/0.1334, allocations: 426.8 kB / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1334, allocations: 19.88 kB / 444.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.1335, allocations: 30.75 kB / 444.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.1335, allocations: 16.75 kB / 444.4 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1338, allocations: 220.7 kB / 444.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1338, allocations: 384 / 444.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.1338, allocations: 7.938 kB / 444.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.134, allocations: 53.67 kB / 444.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.134, allocations: 0 / 444.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.134, allocations: 0 / 444.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.134, allocations: 4 kB / 444.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.927e-05/0.1341, allocations: 19.98 kB / 444.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.1344, allocations: 296.9 kB / 444.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.1346, allocations: 66.59 kB / 445 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.1347, allocations: 20.84 kB / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1347, allocations: 15.88 kB / 445 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.1348, allocations: 63.39 kB / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1348, allocations: 0 / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005147/0.1354, allocations: 181 kB / 445.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.1354, allocations: 51.41 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.1356, allocations: 238.4 kB / 445.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.1356, allocations: 25.7 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.1356, allocations: 116.1 kB / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.1357, allocations: 23.7 kB / 445.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.1357, allocations: 17.72 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.117e-05/0.1358, allocations: 334.8 kB / 446.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.1358, allocations: 15.98 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.1359, allocations: 37.7 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.307e-05/0.136, allocations: 61.7 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.136, allocations: 0 / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001487/0.1362, allocations: 105.4 kB / 446.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1362, allocations: 4 kB / 446.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1362, allocations: 0 / 446.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1362, allocations: 4 kB / 446.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.1363, allocations: 19.98 kB / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1363, allocations: 0 / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.1363, allocations: 11.91 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.1364, allocations: 4 kB / 446.3 MB, free: 0.8281 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 (10): * Single equations (assignments): 10 * 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.445e-05/0.1364, allocations: 141.7 kB / 446.5 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/0.1365, allocations: 11.81 kB / 446.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.1365, allocations: 21.39 kB / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1365, allocations: 0 / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1365, allocations: 0 / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1365, allocations: 7.938 kB / 446.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.1369, allocations: 395.3 kB / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1369, allocations: 0 / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.1369, allocations: 12.36 kB / 446.9 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1369, allocations: 7.938 kB / 446.9 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1369, allocations: 8 kB / 446.9 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1369, allocations: 0 / 446.9 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1369, allocations: 0 / 446.9 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.1372, allocations: 212.5 kB / 447.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.1372, allocations: 92.92 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.1372, allocations: 11.86 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.1373, allocations: 4 kB / 447.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.1374, allocations: 0 / 447.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.1374, allocations: 7.984 kB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.1375, allocations: 184.3 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1376, allocations: 0 / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1378, allocations: 31.98 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001529/0.1394, allocations: 1.091 MB / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1396, allocations: 63.91 kB / 448.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1396, allocations: 0 / 448.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.226e-05/0.1396, allocations: 27.98 kB / 448.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.14, allocations: 30.02 kB / 448.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.1419, allocations: 1.774 MB / 450.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.1423, allocations: 0.708 MB / 451.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.819e-05/0.1423, allocations: 17.19 kB / 451.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.1424, allocations: 43.41 kB / 451.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1424, allocations: 0 / 451.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.1643, allocations: 3.547 MB / 454.8 MB, free: 8.211 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/7.808, allocations: 0 / 454.8 MB, free: 8.211 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches