Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.001108/0.001107, allocations: 104.2 kB / 17.63 MB, free: 5.531 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.001055/0.001055, allocations: 191.9 kB / 18.56 MB, free: 4.613 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.46/1.46, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2443/0.2443, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 72.34 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1393, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004162/0.1436, allocations: 1.916 MB / 471.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1457, allocations: 0.9159 MB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.146, allocations: 3.938 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.1464, allocations: 43.66 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.1468, allocations: 63.67 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.1473, allocations: 123.6 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.1476, allocations: 131.6 kB / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.1478, allocations: 37.47 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.1479, allocations: 55.72 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1481, allocations: 43.72 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.1481, allocations: 8 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.1483, allocations: 51.91 kB / 472.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.1483, allocations: 23.92 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.1484, allocations: 43.69 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.1488, allocations: 155.7 kB / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1488, allocations: 0 / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1488, allocations: 0 / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.1488, allocations: 4 kB / 473 MB, free: 10.65 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.0006976/0.1495, allocations: 479.4 kB / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1495, allocations: 8.031 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.1496, allocations: 42.73 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.1496, allocations: 16.75 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.1499, allocations: 216 kB / 473.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1499, allocations: 4.375 kB / 473.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.15, allocations: 11.92 kB / 473.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.1502, allocations: 108.2 kB / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1503, allocations: 0 / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1503, allocations: 7.984 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1503, allocations: 4 kB / 473.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.1505, allocations: 47.91 kB / 473.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000664/0.1511, allocations: 0.5048 MB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.1515, allocations: 90.59 kB / 474.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1517, allocations: 44.83 kB / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.1517, allocations: 7.938 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003356/0.152, allocations: 75.38 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.1521, allocations: 0 / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004499/0.1525, allocations: 153.3 kB / 474.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.1526, allocations: 55.41 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.1528, allocations: 195.4 kB / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/0.1529, allocations: 29.7 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.568e-05/0.153, allocations: 116 kB / 475.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.153, allocations: 23.62 kB / 475.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.1531, allocations: 29.7 kB / 475.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1532, allocations: 322.8 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.92e-05/0.1533, allocations: 31.98 kB / 475.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1535, allocations: 67.39 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.1537, allocations: 96.2 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1537, allocations: 0 / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002864/0.154, allocations: 137.3 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.154, allocations: 8 kB / 475.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.154, allocations: 0 / 475.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1541, allocations: 8.062 kB / 475.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/0.1542, allocations: 31.91 kB / 475.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1542, allocations: 4 kB / 475.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.1543, allocations: 7.938 kB / 475.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1543, allocations: 8 kB / 475.9 MB, free: 7.422 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.0001128/0.1544, allocations: 129.8 kB / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.1544, allocations: 16.28 kB / 476.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.1545, allocations: 13.41 kB / 476.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1545, allocations: 3.938 kB / 476.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.1545, allocations: 4 kB / 476.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1545, allocations: 7.984 kB / 476.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.1547, allocations: 213.5 kB / 476.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1547, allocations: 4 kB / 476.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.116e-05/0.1548, allocations: 8 kB / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1548, allocations: 0 / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1549, allocations: 4 kB / 476.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.1549, allocations: 3.938 kB / 476.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1549, allocations: 0 / 476.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.1552, allocations: 188.8 kB / 476.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.1553, allocations: 96.89 kB / 476.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1553, allocations: 0 / 476.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.257e-05/0.1554, allocations: 11.92 kB / 476.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.1554, allocations: 4 kB / 476.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1555, allocations: 11.98 kB / 476.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1556, allocations: 133.2 kB / 476.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1556, allocations: 4.062 kB / 476.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1559, allocations: 32.11 kB / 476.8 MB, free: 6.457 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.001438/0.1573, allocations: 1.012 MB / 477.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.1576, allocations: 83.89 kB / 477.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1576, allocations: 0 / 477.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.705e-05/0.1577, allocations: 39.92 kB / 477.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.158, allocations: 39.56 kB / 478 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.16, allocations: 1.745 MB / 479.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.1603, allocations: 0.7123 MB / 480.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.13e-05/0.1604, allocations: 17.42 kB / 480.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.1605, allocations: 43.42 kB / 480.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1605, allocations: 0 / 480.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.1825, allocations: 3.682 MB / 484.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/7.919, allocations: 10.52 kB / 484.2 MB, free: 15.16 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_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_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches