Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",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.001346/0.001346, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001749/0.001749, allocations: 183 kB / 18.72 MB, free: 4.336 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.416/1.416, 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.2276/0.2276, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.89 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3666, allocations: 60.81 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.00312/0.3697, allocations: 1.712 MB / 0.5202 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3712, allocations: 0.8739 MB / 0.521 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.489e-05/0.3713, allocations: 5.125 kB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.3716, allocations: 29.53 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.3718, allocations: 56.3 kB / 0.5211 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.3721, allocations: 109.5 kB / 0.5212 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.3723, allocations: 100.2 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.3724, allocations: 12.44 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.737e-05/0.3725, allocations: 41.2 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.115e-05/0.3726, allocations: 30.83 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3726, allocations: 3.219 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.539e-05/0.3727, allocations: 42.53 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.3728, allocations: 17 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.3728, allocations: 32.44 kB / 0.5215 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.373, allocations: 111.5 kB / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3731, allocations: 0.7031 kB / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3731, allocations: 1.031 kB / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.3731, allocations: 0 / 0.5216 GB, free: 1.211 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.0005038/0.3736, allocations: 403.6 kB / 0.522 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3736, allocations: 9.094 kB / 0.522 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.849e-05/0.3737, allocations: 33.58 kB / 0.522 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.3737, allocations: 9.172 kB / 0.522 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.374, allocations: 224 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.374, allocations: 0.9062 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.374, allocations: 2.984 kB / 0.5222 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.3742, allocations: 58.17 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3742, allocations: 1.062 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3742, allocations: 0 / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.3742, allocations: 1.609 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.723e-05/0.3743, allocations: 18.72 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.3747, allocations: 283.2 kB / 0.5226 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.3748, allocations: 64.86 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.3749, allocations: 20.14 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3749, allocations: 1.5 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.3751, allocations: 73.45 kB / 0.5227 GB, free: 84 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3751, allocations: 0 / 0.5227 GB, free: 84 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005685/0.3757, allocations: 163.9 kB / 0.5229 GB, free: 4 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.3758, allocations: 61.03 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.376, allocations: 158.2 kB / 0.5231 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.376, allocations: 31.44 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3761, allocations: 106.6 kB / 0.5232 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.3762, allocations: 26.11 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.3762, allocations: 26.75 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.3764, allocations: 320.6 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.052e-05/0.3765, allocations: 25.86 kB / 0.5236 GB, free: 15.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-05/0.3766, allocations: 39.34 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.3767, allocations: 54.09 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.3767, allocations: 4 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002118/0.3769, allocations: 101.3 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.377, allocations: 4.781 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.377, allocations: 5.031 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.377, allocations: 1.312 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.3771, allocations: 16.08 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3771, allocations: 0 / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.3772, allocations: 3.469 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3772, allocations: 3.438 kB / 0.5238 GB, free: 15.18 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.0001062/0.3773, allocations: 130.3 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.3773, allocations: 12.92 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.923e-05/0.3774, allocations: 22.53 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3774, allocations: 1.062 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3774, allocations: 0.75 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3774, allocations: 1.156 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.3779, allocations: 390.7 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3779, allocations: 1.062 kB / 0.5244 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.378, allocations: 16.58 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.378, allocations: 1.672 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.378, allocations: 1.703 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.378, allocations: 1.375 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.378, allocations: 1.875 kB / 0.5244 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.3782, allocations: 211 kB / 0.5246 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.3783, allocations: 93.72 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.3783, allocations: 2.016 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.3784, allocations: 4.328 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.3785, allocations: 3.891 kB / 0.5247 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3785, allocations: 9.484 kB / 0.5247 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.214e-05/0.3786, allocations: 121.1 kB / 0.5248 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3786, allocations: 0 / 0.5248 GB, free: 14.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.3788, allocations: 25.08 kB / 0.5249 GB, free: 14.29 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.001498/0.3803, allocations: 1.103 MB / 0.5259 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001987/0.3806, allocations: 56.72 kB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3806, allocations: 0 / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.3807, allocations: 28.28 kB / 0.526 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.381, allocations: 34.34 kB / 0.526 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.3828, allocations: 1.573 MB / 0.5276 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3832, allocations: 0.6976 MB / 0.5283 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.495e-05/0.3832, allocations: 18.33 kB / 0.5283 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.3833, allocations: 39.16 kB / 0.5283 GB, free: 11.35 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3833, allocations: 4 kB / 0.5283 GB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.4033, allocations: 3.253 MB / 0.5315 GB, free: 9.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/7.909, allocations: 9.141 kB / 0.5315 GB, free: 9.969 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_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_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches