Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001497/0.001497, 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.002041/0.002042, 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.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 85.98 kB / 417.7 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08913/0.09047, allocations: 62.45 MB / 480.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002629/0.09314, allocations: 1.724 MB / 481.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.09452, allocations: 1.024 MB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.0946, allocations: 4 kB / 482.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.09484, allocations: 39.77 kB / 482.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.0951, allocations: 95.55 kB / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.09528, allocations: 79.72 kB / 483.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.09542, allocations: 103.6 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.776e-05/0.09551, allocations: 15.97 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.988e-05/0.09558, allocations: 39.8 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.09565, allocations: 35.8 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.09567, allocations: 4 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.671e-05/0.09576, allocations: 47.97 kB / 483.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.09581, allocations: 19.92 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.09586, allocations: 35.73 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.09603, allocations: 115.9 kB / 483.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.09605, allocations: 8 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09605, allocations: 3.938 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.09606, allocations: 0 / 483.5 MB, free: 1.738 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.0004181/0.09648, allocations: 426.9 kB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.09652, allocations: 8.031 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.552e-05/0.09655, allocations: 30.75 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.09659, allocations: 20.73 kB / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.09678, allocations: 216 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.09679, allocations: 384 / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.09682, allocations: 11.94 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.09694, allocations: 57.61 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.09696, allocations: 0 / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.09697, allocations: 0 / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.09698, allocations: 3.984 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.597e-05/0.09705, allocations: 16 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.09733, allocations: 288.9 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.09749, allocations: 58.62 kB / 484.6 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.09755, allocations: 20.84 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.09757, allocations: 8 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.09772, allocations: 59.39 kB / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.09773, allocations: 0 / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004516/0.09819, allocations: 193.3 kB / 484.9 MB, free: 172 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.09823, allocations: 51.41 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.0984, allocations: 202.3 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.09842, allocations: 29.7 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.09847, allocations: 104.1 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.0985, allocations: 23.7 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.09855, allocations: 25.66 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.09864, allocations: 330.8 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.09869, allocations: 15.98 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.09876, allocations: 41.77 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.94e-05/0.09886, allocations: 61.7 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.09887, allocations: 0 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001659/0.09904, allocations: 109.4 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.09906, allocations: 8.031 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.09907, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.09908, allocations: 4 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.435e-05/0.09916, allocations: 15.98 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.09917, allocations: 0 / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.09922, allocations: 11.88 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.09923, allocations: 0 / 485.9 MB, free: 15.09 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 8.112e-05/0.09932, allocations: 133.8 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.09935, allocations: 7.906 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.09939, allocations: 25.58 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.0994, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.09941, allocations: 3.938 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.09941, allocations: 3.938 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.09978, allocations: 391.2 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.09979, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.09983, allocations: 11.98 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.09984, allocations: 7.938 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.09985, allocations: 8.031 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.09986, allocations: 0 / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.09986, allocations: 0 / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.1001, allocations: 204.5 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.1001, allocations: 88.86 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.1001, allocations: 15.92 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.1002, allocations: 0 / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.1003, allocations: 11.98 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1003, allocations: 7.984 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1004, allocations: 164.8 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1004, allocations: 0 / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.1006, allocations: 20 kB / 487 MB, free: 13.9 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.001198/0.1018, allocations: 1.093 MB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.102, allocations: 63.97 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.102, allocations: 0 / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.216e-05/0.1021, allocations: 27.92 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.1024, allocations: 27.61 kB / 488.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.1038, allocations: 1.689 MB / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.104, allocations: 0.708 MB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.1041, allocations: 20.84 kB / 490.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.1041, allocations: 39.42 kB / 490.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1042, allocations: 0 / 490.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07635/0.1805, allocations: 3.42 MB / 494.1 MB, free: 6.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/8.62, allocations: 6.891 kB / 494.1 MB, free: 6.906 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_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_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches