Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.001065/0.001065, allocations: 118.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.001122/0.001122, 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.296/1.296, 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.1942/0.1942, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 71.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3377, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003091/0.3408, allocations: 1.919 MB / 0.5204 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3424, allocations: 0.9207 MB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.883e-05/0.3426, allocations: 1.375 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.3429, allocations: 43.08 kB / 0.5213 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.3431, allocations: 61.62 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3435, allocations: 135.5 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.3437, allocations: 135 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3438, allocations: 24.25 kB / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3439, allocations: 60.97 kB / 0.5217 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.994e-05/0.344, allocations: 50 kB / 0.5217 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3441, allocations: 6.281 kB / 0.5218 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3442, allocations: 50.17 kB / 0.5218 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.049e-05/0.3443, allocations: 22.03 kB / 0.5218 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.398e-05/0.3443, allocations: 51.33 kB / 0.5219 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.3446, allocations: 156.9 kB / 0.522 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3447, allocations: 0 / 0.522 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3447, allocations: 1.219 kB / 0.522 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3447, allocations: 0 / 0.522 GB, free: 0.9375 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006147/0.3453, allocations: 480.4 kB / 0.5225 GB, free: 488 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3453, allocations: 14.52 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.3454, allocations: 42.61 kB / 0.5225 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.3454, allocations: 16.25 kB / 0.5225 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.3457, allocations: 226 kB / 0.5228 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3458, allocations: 10.66 kB / 0.5228 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.3458, allocations: 9.172 kB / 0.5228 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.346, allocations: 110.6 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3461, allocations: 0.6562 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3461, allocations: 0 / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3461, allocations: 2.375 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.3463, allocations: 52.19 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.3469, allocations: 0.5029 MB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.3472, allocations: 95 kB / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3473, allocations: 37.53 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.3474, allocations: 1.188 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.3476, allocations: 77.81 kB / 0.5236 GB, free: 15.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3476, allocations: 0 / 0.5236 GB, free: 15.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004126/0.348, allocations: 151.9 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3481, allocations: 53.14 kB / 0.5238 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.3483, allocations: 188.1 kB / 0.524 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.3483, allocations: 31.02 kB / 0.524 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.3484, allocations: 118.3 kB / 0.5242 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.3484, allocations: 23.25 kB / 0.5242 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.3485, allocations: 32.56 kB / 0.5242 GB, free: 15.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3486, allocations: 331.5 kB / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.3488, allocations: 24.31 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.3489, allocations: 75.45 kB / 0.5246 GB, free: 14.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.3491, allocations: 100.6 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3491, allocations: 0 / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002718/0.3494, allocations: 137.5 kB / 0.5248 GB, free: 14.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3494, allocations: 9.156 kB / 0.5249 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3494, allocations: 5.438 kB / 0.5249 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3494, allocations: 6.25 kB / 0.5249 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3495, allocations: 25.3 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3496, allocations: 6.109 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.3496, allocations: 23 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3497, allocations: 3.969 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001085/0.3498, allocations: 124.4 kB / 0.525 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.3498, allocations: 15.19 kB / 0.5251 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.3499, allocations: 20.78 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3499, allocations: 7.875 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3499, allocations: 2.062 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3499, allocations: 0.7969 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.3501, allocations: 209.8 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3501, allocations: 0 / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.3502, allocations: 11.05 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.3502, allocations: 2.438 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3502, allocations: 0.6562 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.3502, allocations: 5.812 kB / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3502, allocations: 0.7031 kB / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.3507, allocations: 182.8 kB / 0.5255 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.015e-05/0.3507, allocations: 95.77 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.3508, allocations: 3.781 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.3508, allocations: 9.547 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.3509, allocations: 10.92 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3509, allocations: 6.781 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.351, allocations: 142.4 kB / 0.5257 GB, free: 13.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.351, allocations: 0 / 0.5257 GB, free: 13.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000241/0.3513, allocations: 26.23 kB / 0.5258 GB, free: 13.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001574/0.3529, allocations: 1.019 MB / 0.5268 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002786/0.3532, allocations: 78.42 kB / 0.5268 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3532, allocations: 0 / 0.5268 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.3533, allocations: 39.66 kB / 0.5269 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3536, allocations: 35.25 kB / 0.5269 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.3559, allocations: 1.727 MB / 0.5286 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3562, allocations: 0.7139 MB / 0.5293 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.196e-05/0.3563, allocations: 22.61 kB / 0.5293 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.329e-05/0.3564, allocations: 40.28 kB / 0.5293 GB, free: 10.87 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3564, allocations: 5.75 kB / 0.5293 GB, free: 10.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.3786, allocations: 3.789 MB / 0.533 GB, free: 9.062 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.691/8.07, allocations: 12.06 kB / 0.5331 GB, free: 9.059 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches