Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001705/0.001705, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002767/0.002767, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.235/0.235, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 77.03 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1368, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.004162/0.141, allocations: 1.73 MB / 481.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1431, allocations: 1.017 MB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.1433, allocations: 0 / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.1437, allocations: 43.77 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.1441, allocations: 99.53 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.1443, allocations: 75.67 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1445, allocations: 107.7 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1447, allocations: 11.98 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1448, allocations: 43.78 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.012e-05/0.1449, allocations: 27.8 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.1449, allocations: 7.984 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1451, allocations: 47.98 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.1451, allocations: 23.92 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.1452, allocations: 27.81 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.1455, allocations: 115.8 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1455, allocations: 3.938 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1455, allocations: 0 / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1455, allocations: 0 / 483.5 MB, free: 1.816 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007392/0.1463, allocations: 411 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.1463, allocations: 12.03 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.1464, allocations: 34.75 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.1464, allocations: 12.75 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1467, allocations: 208.1 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1467, allocations: 384 / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1468, allocations: 7.938 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1469, allocations: 61.61 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.147, allocations: 0 / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.147, allocations: 3.984 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.147, allocations: 4 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.858e-05/0.1471, allocations: 15.98 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1475, allocations: 288.9 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.1477, allocations: 54.62 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.1477, allocations: 20.84 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1478, allocations: 4 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.1479, allocations: 67.39 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.286e-06/0.148, allocations: 0 / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000572/0.1485, allocations: 181.1 kB / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.1486, allocations: 55.41 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.1488, allocations: 183.3 kB / 485.1 MB, free: 20 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.1488, allocations: 33.7 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.1489, allocations: 108 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.1489, allocations: 27.64 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.149, allocations: 17.72 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1491, allocations: 326.8 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.1492, allocations: 19.98 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-05/0.1493, allocations: 37.64 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1494, allocations: 65.7 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1494, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001993/0.1496, allocations: 97.52 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1496, allocations: 10.5 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1496, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1497, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/0.1497, allocations: 15.98 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1498, allocations: 4 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.1498, allocations: 7.938 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1498, allocations: 8.031 kB / 485.9 MB, free: 15.21 MB / 366.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 9.962e-05/0.1499, allocations: 125.8 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.15, allocations: 15.81 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.15, allocations: 13.56 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.15, allocations: 4 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.15, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.1501, allocations: 11.91 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.1505, allocations: 391.7 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1505, allocations: 4 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.1505, allocations: 8 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1505, allocations: 7.938 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1506, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/0.1506, allocations: 3.984 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1506, allocations: 4 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1508, allocations: 208.2 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.1509, allocations: 84.92 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1509, allocations: 7.938 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.151, allocations: 3.938 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.151, allocations: 11.98 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1511, allocations: 4 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.1512, allocations: 139.9 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1512, allocations: 192 / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.1515, allocations: 24 kB / 486.9 MB, free: 14.05 MB / 366.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.001406/0.1529, allocations: 1.09 MB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1531, allocations: 63.91 kB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1531, allocations: 0 / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.962e-05/0.1532, allocations: 31.92 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1535, allocations: 23.67 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.1552, allocations: 1.63 MB / 489.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.1554, allocations: 0.7119 MB / 490.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.44e-05/0.1555, allocations: 12.88 kB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.1556, allocations: 31.42 kB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1556, allocations: 0 / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.1798, allocations: 3.32 MB / 493.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.172, allocations: 11.86 kB / 493.8 MB, free: 7.234 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches