Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001583, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001781/0.001782, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.1 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 82.56 kB / 417.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08408/0.08539, allocations: 62.44 MB / 480.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002516/0.08794, allocations: 1.731 MB / 481.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.0893, allocations: 1.021 MB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.08937, allocations: 0 / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.08962, allocations: 43.77 kB / 482.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.08988, allocations: 99.53 kB / 483 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.09006, allocations: 79.66 kB / 483.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.0902, allocations: 103.7 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.399e-05/0.09028, allocations: 8 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.265e-05/0.09036, allocations: 51.77 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.09043, allocations: 27.8 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.09045, allocations: 4 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.331e-05/0.09054, allocations: 43.98 kB / 483.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.09059, allocations: 23.91 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.802e-05/0.09065, allocations: 39.69 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.09081, allocations: 119.9 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.09082, allocations: 4 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09082, allocations: 0 / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.09083, allocations: 0 / 483.5 MB, free: 1.727 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.0004086/0.09125, allocations: 422.9 kB / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.09128, allocations: 8.031 kB / 483.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.729e-05/0.09132, allocations: 34.75 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.09136, allocations: 16.75 kB / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.09155, allocations: 212.1 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.09157, allocations: 4.312 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.09159, allocations: 15.94 kB / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.09172, allocations: 53.66 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.09173, allocations: 0 / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.09174, allocations: 4 kB / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.09175, allocations: 0 / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.393e-05/0.09182, allocations: 19.98 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.0921, allocations: 288.9 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.09226, allocations: 62.61 kB / 484.6 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.09232, allocations: 24.84 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.09234, allocations: 3.938 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.09248, allocations: 63.39 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.09249, allocations: 0 / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004518/0.09295, allocations: 185 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.09299, allocations: 51.41 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.09316, allocations: 210.3 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.09318, allocations: 25.7 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.09324, allocations: 104.1 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.09327, allocations: 23.69 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.09331, allocations: 25.72 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.09341, allocations: 330.8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.583e-05/0.09347, allocations: 23.92 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.748e-05/0.09354, allocations: 37.7 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.748e-05/0.09364, allocations: 49.72 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.09365, allocations: 0 / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000169/0.09383, allocations: 109.4 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.09385, allocations: 10.53 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.09386, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.09387, allocations: 4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.09395, allocations: 15.98 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.09397, allocations: 160 / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.09402, allocations: 11.88 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.09403, allocations: 7.984 kB / 485.9 MB, free: 15.07 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 7.749e-05/0.09411, allocations: 129.8 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.09414, allocations: 7.906 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.09418, allocations: 21.41 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.09419, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.0942, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.09421, allocations: 3.938 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.09457, allocations: 403.2 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.09459, allocations: 4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.09462, allocations: 8.375 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.09463, allocations: 3.969 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.09464, allocations: 7.984 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.09465, allocations: 4 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09466, allocations: 4 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.09486, allocations: 204.4 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.09493, allocations: 88.92 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.09496, allocations: 7.875 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.571e-05/0.09503, allocations: 8 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.09506, allocations: 7.984 kB / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.09508, allocations: 4 kB / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.09521, allocations: 160.8 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09521, allocations: 0 / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.09546, allocations: 23.98 kB / 487 MB, free: 13.89 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.001304/0.09677, allocations: 1.082 MB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.09694, allocations: 67.91 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.09695, allocations: 0 / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.385e-05/0.09702, allocations: 27.98 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.09733, allocations: 42.44 kB / 488.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.09889, allocations: 1.687 MB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.09915, allocations: 0.7118 MB / 490.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.958e-05/0.09921, allocations: 16.55 kB / 490.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.09927, allocations: 35.42 kB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09928, allocations: 0 / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04305/0.1423, allocations: 3.419 MB / 494.1 MB, free: 6.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/8.604, allocations: 18.73 kB / 494.1 MB, free: 6.883 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_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_Test45.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches