Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 82 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1367, allocations: 62.45 MB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003189/0.14, allocations: 1.678 MB / 481.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.1422, allocations: 1.005 MB / 482.8 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.929e-05/0.1423, allocations: 4 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.1427, allocations: 59.73 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.1431, allocations: 103.6 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.1433, allocations: 67.69 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.1435, allocations: 111.7 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.1436, allocations: 8.234 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.161e-05/0.1437, allocations: 47.78 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1438, allocations: 43.83 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.1438, allocations: 4 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.983e-05/0.1439, allocations: 35.98 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.144, allocations: 23.84 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.144, allocations: 31.75 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1442, allocations: 103.9 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1443, allocations: 4 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1443, allocations: 0 / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1443, 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005135/0.1448, allocations: 406.9 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1448, allocations: 8.031 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.1449, allocations: 38.73 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.1449, allocations: 12.84 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.1452, allocations: 200.8 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1452, allocations: 16.28 kB / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.1452, allocations: 3.938 kB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1454, allocations: 49.69 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1454, allocations: 4 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1454, allocations: 0 / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1454, allocations: 7.922 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.961e-05/0.1455, allocations: 12 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.1457, allocations: 177.7 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.1458, allocations: 58.48 kB / 484.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.1459, allocations: 24.84 kB / 484.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1459, allocations: 4 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.1461, allocations: 71.3 kB / 484.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1461, allocations: 0 / 484.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002789/0.1464, allocations: 97.52 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.1465, allocations: 51.41 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.1467, allocations: 194.4 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1467, allocations: 29.7 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.1467, allocations: 104.1 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1468, allocations: 11.8 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.1468, allocations: 21.72 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1469, allocations: 322.8 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-05/0.147, allocations: 15.98 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.879e-05/0.1471, allocations: 33.7 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.562e-05/0.1472, allocations: 37.72 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1472, allocations: 3.938 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001616/0.1474, allocations: 85.52 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1474, allocations: 6.5 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1474, allocations: 0 / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1474, allocations: 0 / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.1475, allocations: 12 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1475, allocations: 7.969 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.1476, allocations: 7.984 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.1476, allocations: 4 kB / 485.6 MB, free: 15.48 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 (7): * Single equations (assignments): 7 * 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.958e-05/0.1477, allocations: 121.8 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.1477, allocations: 15.81 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.1478, allocations: 20.92 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1478, allocations: 0 / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1478, allocations: 0 / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1478, allocations: 0 / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1479, allocations: 197.5 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1479, allocations: 320 / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.148, allocations: 8 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.148, allocations: 0 / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.148, allocations: 0 / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.148, allocations: 4.156 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.148, allocations: 0 / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.1482, allocations: 112.9 kB / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.1483, allocations: 88.95 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.1483, allocations: 7.984 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-05/0.1483, allocations: 3.984 kB / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.1484, allocations: 4 kB / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1484, allocations: 0 / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1485, allocations: 148.2 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1485, allocations: 0 / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1488, allocations: 27.91 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001264/0.15, allocations: 0.9485 MB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.1502, allocations: 39.98 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1502, allocations: 0 / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.1503, allocations: 23.92 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.1506, allocations: 30.08 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.1522, allocations: 1.502 MB / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1525, allocations: 0.7049 MB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.376e-05/0.1525, allocations: 8.547 kB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.1526, allocations: 35.42 kB / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1526, allocations: 0 / 489.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.1726, allocations: 3.074 MB / 492.7 MB, free: 8.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.272/7.444, allocations: 8.062 kB / 492.7 MB, free: 8.332 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches