Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_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.001197/0.001197, allocations: 103.9 kB / 17.63 MB, free: 5.344 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.001341/0.001341, allocations: 192 kB / 18.56 MB, free: 4.434 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.494/1.494, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2327/0.2327, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 65.17 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1423, allocations: 60.81 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003251/0.1456, allocations: 1.912 MB / 471.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1471, allocations: 0.9158 MB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.1473, allocations: 4 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.1476, allocations: 43.69 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.1479, allocations: 59.64 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.1483, allocations: 130.3 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.1485, allocations: 139.5 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.1487, allocations: 29.47 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1488, allocations: 55.72 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.149, allocations: 51.72 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.149, allocations: 4 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1491, allocations: 51.97 kB / 472.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.1492, allocations: 19.92 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.558e-05/0.1493, allocations: 51.67 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.1495, allocations: 151.7 kB / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1495, allocations: 0 / 473 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1496, allocations: 3.938 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1496, allocations: 0 / 473 MB, free: 10.62 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007335/0.1503, allocations: 480.5 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.1504, allocations: 12.03 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.976e-05/0.1504, allocations: 34.75 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.1505, allocations: 16.75 kB / 473.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.1509, allocations: 223.9 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.1509, allocations: 8.375 kB / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.1509, allocations: 7.938 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.1512, allocations: 109.1 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1512, allocations: 4 kB / 473.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1512, allocations: 0 / 473.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1512, allocations: 0 / 473.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.1514, allocations: 51.91 kB / 473.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.152, allocations: 0.5087 MB / 474.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.1524, allocations: 86.66 kB / 474.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.1525, allocations: 36.84 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1525, allocations: 7.984 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.1528, allocations: 87.25 kB / 474.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.724e-06/0.1528, allocations: 0 / 474.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003923/0.1532, allocations: 145.3 kB / 474.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1532, allocations: 51.41 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1534, allocations: 191.5 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1535, allocations: 29.7 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.1536, allocations: 116 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.1536, allocations: 27.61 kB / 475.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.1537, allocations: 25.72 kB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1538, allocations: 330.8 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.1539, allocations: 24.36 kB / 475.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.154, allocations: 64.28 kB / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1542, allocations: 108.1 kB / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1542, allocations: 4 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002856/0.1545, allocations: 137.3 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1545, allocations: 4 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1546, allocations: 4 kB / 475.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.1546, allocations: 3.938 kB / 475.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1547, allocations: 23.98 kB / 475.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.1547, allocations: 0 / 475.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.436e-05/0.1548, allocations: 28.05 kB / 475.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1548, allocations: 4 kB / 475.9 MB, free: 7.391 MB / 350.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.0001187/0.1549, allocations: 125.8 kB / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.155, allocations: 11.81 kB / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.297e-05/0.155, allocations: 25.38 kB / 476.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.155, allocations: 3.938 kB / 476.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.155, allocations: 0 / 476.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.155, allocations: 0 / 476.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.1552, allocations: 205.6 kB / 476.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1553, allocations: 4 kB / 476.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.83e-05/0.1553, allocations: 15.98 kB / 476.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1554, allocations: 0 / 476.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1554, allocations: 0 / 476.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1554, allocations: 3.938 kB / 476.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1554, allocations: 3.938 kB / 476.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.1558, allocations: 180.9 kB / 476.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.1558, allocations: 104.9 kB / 476.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1559, allocations: 7.984 kB / 476.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-05/0.1559, allocations: 7.938 kB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.156, allocations: 7.984 kB / 476.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.156, allocations: 4 kB / 476.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1561, allocations: 141.2 kB / 476.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1561, allocations: 0 / 476.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.1563, allocations: 28.12 kB / 476.8 MB, free: 6.434 MB / 350.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.001437/0.1578, allocations: 1.02 MB / 477.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.1581, allocations: 79.84 kB / 477.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.1581, allocations: 8.25 kB / 477.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.799e-05/0.1582, allocations: 35.97 kB / 477.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.1585, allocations: 37.53 kB / 478 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.1607, allocations: 1.733 MB / 479.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.161, allocations: 0.7123 MB / 480.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.567e-05/0.1611, allocations: 25.34 kB / 480.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.1611, allocations: 47.42 kB / 480.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1612, allocations: 0 / 480.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.186, allocations: 3.687 MB / 484.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/7.749, allocations: 11.06 kB / 484.2 MB, free: 15.13 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches