Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.001177/0.001177, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001038/0.001038, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.444/1.444, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2072/0.2072, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3552, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003193/0.3585, allocations: 1.706 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3598, allocations: 0.8804 MB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.3599, allocations: 0.9375 kB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.3602, allocations: 46.64 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.3604, allocations: 64.48 kB / 0.5211 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.3608, allocations: 109.3 kB / 0.5212 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.361, allocations: 99.97 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3611, allocations: 9.047 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/0.3612, allocations: 41.55 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/0.3613, allocations: 33.75 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.3613, allocations: 5.125 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3614, allocations: 41 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.3615, allocations: 24.58 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.3615, allocations: 50.12 kB / 0.5215 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.3618, allocations: 128.3 kB / 0.5217 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3618, allocations: 1.125 kB / 0.5217 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3618, allocations: 0 / 0.5217 GB, free: 1.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3618, allocations: 3.938 kB / 0.5217 GB, free: 1.188 MB / 382.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.0005655/0.3624, allocations: 443.1 kB / 0.5221 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3624, allocations: 8.906 kB / 0.5221 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.3625, allocations: 37.2 kB / 0.5221 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.3625, allocations: 15.72 kB / 0.5221 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.3628, allocations: 222.3 kB / 0.5224 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3628, allocations: 2.156 kB / 0.5224 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.3629, allocations: 14.16 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.363, allocations: 53.88 kB / 0.5224 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.363, allocations: 1.828 kB / 0.5224 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3631, allocations: 4 kB / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3631, allocations: 1.188 kB / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.762e-05/0.3631, allocations: 18.09 kB / 0.5224 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.3635, allocations: 298 kB / 0.5227 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.3637, allocations: 55.77 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.3638, allocations: 24.89 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.3638, allocations: 0 / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.364, allocations: 70.59 kB / 0.5229 GB, free: 24 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.364, allocations: 0 / 0.5229 GB, free: 24 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006187/0.3646, allocations: 183.1 kB / 0.5231 GB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.3647, allocations: 57.53 kB / 0.5231 GB, free: 15.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003246/0.365, allocations: 266 kB / 0.5234 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.365, allocations: 27.78 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.3651, allocations: 114.2 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.3652, allocations: 26.94 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.3652, allocations: 29.89 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3654, allocations: 324.2 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-05/0.3654, allocations: 25.91 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.3655, allocations: 35.72 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.3656, allocations: 61.14 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3656, allocations: 4 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002093/0.3659, allocations: 103.1 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3659, allocations: 6.578 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3659, allocations: 0 / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3659, allocations: 1.406 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.366, allocations: 15.47 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.366, allocations: 0.6562 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.3661, allocations: 11.2 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.3661, allocations: 3.188 kB / 0.5241 GB, free: 15.07 MB / 398.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 0.0001326/0.3662, allocations: 143.9 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.3663, allocations: 15.67 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.3664, allocations: 19.41 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.3664, allocations: 1.156 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.3664, allocations: 4.688 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3664, allocations: 5.094 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.3669, allocations: 403.3 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3669, allocations: 7.969 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.367, allocations: 12.44 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.367, allocations: 5.75 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.367, allocations: 2.797 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.367, allocations: 0.6094 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.367, allocations: 1.781 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.3673, allocations: 205.7 kB / 0.5249 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.3673, allocations: 99.16 kB / 0.525 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.3674, allocations: 8.484 kB / 0.525 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.3674, allocations: 3.438 kB / 0.525 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.3675, allocations: 6.422 kB / 0.525 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.3675, allocations: 6.219 kB / 0.525 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.3677, allocations: 201.5 kB / 0.5252 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3677, allocations: 0 / 0.5252 GB, free: 14.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.368, allocations: 26.09 kB / 0.5252 GB, free: 14.13 MB / 398.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.001464/0.3694, allocations: 1.103 MB / 0.5263 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.3697, allocations: 56.52 kB / 0.5264 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3697, allocations: 0 / 0.5264 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.089e-05/0.3698, allocations: 28.33 kB / 0.5264 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.3701, allocations: 39.11 kB / 0.5264 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.3724, allocations: 1.806 MB / 0.5282 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.3728, allocations: 0.7214 MB / 0.5289 GB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.512e-05/0.3729, allocations: 15.84 kB / 0.5289 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.373, allocations: 44.94 kB / 0.529 GB, free: 11.11 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.373, allocations: 4 kB / 0.529 GB, free: 11.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.3939, allocations: 3.7 MB / 0.5326 GB, free: 9.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/8.008, allocations: 8.906 kB / 0.5326 GB, free: 9.457 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches