Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.001656/0.001656, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001845/0.001845, allocations: 181 kB / 18.71 MB, free: 4.207 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.408/1.408, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2238/0.2238, allocations: 44.19 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 67.91 kB / 470.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3534, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003234/0.3567, allocations: 1.726 MB / 0.5202 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.358, allocations: 0.8764 MB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.3581, allocations: 1.281 kB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.3585, allocations: 84.83 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.3587, allocations: 80.42 kB / 0.5212 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.359, allocations: 106 kB / 0.5213 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.3592, allocations: 113.1 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3594, allocations: 17.23 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3595, allocations: 58.47 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3596, allocations: 60.61 kB / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.3596, allocations: 8.734 kB / 0.5216 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3597, allocations: 58.42 kB / 0.5216 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.3598, allocations: 20.48 kB / 0.5216 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.3599, allocations: 38.02 kB / 0.5217 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.3601, allocations: 135.2 kB / 0.5218 GB, free: 1.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3601, allocations: 3.938 kB / 0.5218 GB, free: 1.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3601, allocations: 0 / 0.5218 GB, free: 1.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.3601, allocations: 1.125 kB / 0.5218 GB, free: 1.168 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005206/0.3607, allocations: 431.8 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3607, allocations: 9.406 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.3608, allocations: 37.17 kB / 0.5223 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.3608, allocations: 14.89 kB / 0.5223 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.3611, allocations: 217 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.3611, allocations: 1.469 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.3611, allocations: 7.891 kB / 0.5225 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3613, allocations: 61.31 kB / 0.5226 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3613, allocations: 0.9688 kB / 0.5226 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3613, allocations: 4.844 kB / 0.5226 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.3613, allocations: 1.094 kB / 0.5226 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.434e-05/0.3614, allocations: 29.88 kB / 0.5226 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.3618, allocations: 299.5 kB / 0.5229 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.3621, allocations: 60.14 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.134e-05/0.3621, allocations: 24.42 kB / 0.523 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3622, allocations: 6.656 kB / 0.523 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.3623, allocations: 66.75 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3623, allocations: 0 / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00105/0.3634, allocations: 241.3 kB / 0.5233 GB, free: 15.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.3635, allocations: 58.19 kB / 0.5233 GB, free: 15.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.3638, allocations: 213.9 kB / 0.5235 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3638, allocations: 31.44 kB / 0.5236 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3639, allocations: 108.5 kB / 0.5237 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.364, allocations: 39.97 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.364, allocations: 25.23 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3642, allocations: 326.2 kB / 0.524 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.3643, allocations: 27.38 kB / 0.5241 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3644, allocations: 52.86 kB / 0.5241 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3646, allocations: 78.67 kB / 0.5242 GB, free: 15.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3646, allocations: 1.375 kB / 0.5242 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003991/0.365, allocations: 132.2 kB / 0.5243 GB, free: 15.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3651, allocations: 6.125 kB / 0.5243 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.3651, allocations: 0 / 0.5243 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3651, allocations: 5.828 kB / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.3653, allocations: 28.25 kB / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3653, allocations: 5.906 kB / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.257e-05/0.3654, allocations: 6.219 kB / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.3654, allocations: 4.141 kB / 0.5244 GB, free: 15.01 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 (13): * Single equations (assignments): 13 * 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.0001544/0.3655, allocations: 128.8 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.3656, allocations: 9.828 kB / 0.5245 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/0.3656, allocations: 18.39 kB / 0.5245 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.3657, allocations: 5.641 kB / 0.5245 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3657, allocations: 1.031 kB / 0.5245 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3657, allocations: 4.797 kB / 0.5245 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/0.3664, allocations: 459.3 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3664, allocations: 0 / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.3664, allocations: 15.05 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3664, allocations: 0.6562 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3664, allocations: 4.219 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3665, allocations: 3.984 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3665, allocations: 6.203 kB / 0.525 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.3668, allocations: 239.4 kB / 0.5252 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.3669, allocations: 90.42 kB / 0.5253 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.3669, allocations: 11.12 kB / 0.5253 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3671, allocations: 2.672 kB / 0.5253 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.3671, allocations: 16.56 kB / 0.5253 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.3672, allocations: 5.234 kB / 0.5253 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.3674, allocations: 154.8 kB / 0.5255 GB, free: 14.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3674, allocations: 1.781 kB / 0.5255 GB, free: 14.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.3677, allocations: 30.19 kB / 0.5255 GB, free: 14.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.00259/0.3703, allocations: 1.169 MB / 0.5267 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.3705, allocations: 81.47 kB / 0.5267 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3705, allocations: 0 / 0.5267 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.652e-05/0.3706, allocations: 48.33 kB / 0.5268 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.371, allocations: 25.84 kB / 0.5268 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.3734, allocations: 1.791 MB / 0.5286 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.3738, allocations: 0.7158 MB / 0.5293 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.3739, allocations: 19.83 kB / 0.5293 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.727e-05/0.374, allocations: 41.92 kB / 0.5293 GB, free: 10.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.374, allocations: 3.938 kB / 0.5293 GB, free: 10.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.4009, allocations: 3.81 MB / 0.533 GB, free: 9.219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.482, allocations: 5 kB / 0.533 GB, free: 9.215 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches