Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.001377/0.001377, allocations: 109.3 kB / 17.78 MB, free: 5.266 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.001334/0.001335, allocations: 192.1 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.434/1.434, 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.2568/0.2568, allocations: 44.18 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 68.08 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3647, allocations: 60.83 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.00258/0.3673, allocations: 1.704 MB / 0.5202 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.3691, allocations: 1.477 MB / 0.5216 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.3692, allocations: 1.188 kB / 0.5216 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.3695, allocations: 40.14 kB / 0.5217 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.3698, allocations: 59.72 kB / 0.5217 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.3701, allocations: 121.3 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.3702, allocations: 93.27 kB / 0.5219 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.64e-05/0.3703, allocations: 7.25 kB / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.3704, allocations: 49.36 kB / 0.522 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.3706, allocations: 31.39 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.3706, allocations: 4.656 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.3708, allocations: 65.69 kB / 0.5221 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.3708, allocations: 19.89 kB / 0.5221 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.216e-05/0.3709, allocations: 33.36 kB / 0.5221 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.3711, allocations: 129.9 kB / 0.5223 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3711, allocations: 0 / 0.5223 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3711, allocations: 0 / 0.5223 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.3711, allocations: 0 / 0.5223 GB, free: 0.7539 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.0004886/0.3716, allocations: 405.3 kB / 0.5226 GB, free: 360 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3717, allocations: 9.469 kB / 0.5226 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.3717, allocations: 41.83 kB / 0.5227 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.3718, allocations: 8.484 kB / 0.5227 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.372, allocations: 198 kB / 0.5229 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3721, allocations: 6.062 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.3721, allocations: 6.25 kB / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.3722, allocations: 75.03 kB / 0.523 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3723, allocations: 4 kB / 0.523 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3723, allocations: 2.047 kB / 0.523 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.3723, allocations: 5.25 kB / 0.523 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.857e-05/0.3724, allocations: 21.34 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.3728, allocations: 284.8 kB / 0.5233 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.373, allocations: 59.34 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.3731, allocations: 20.06 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3731, allocations: 5.188 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.3733, allocations: 66.92 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3733, allocations: 0 / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005455/0.3738, allocations: 172.1 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.3739, allocations: 78.11 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3741, allocations: 157.7 kB / 0.5238 GB, free: 15.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.3741, allocations: 31.62 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.3742, allocations: 93.39 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.3742, allocations: 26.08 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.3743, allocations: 27.02 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3744, allocations: 320.6 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.3745, allocations: 18.42 kB / 0.5243 GB, free: 14.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/0.3746, allocations: 44.56 kB / 0.5243 GB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.3747, allocations: 61.16 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3747, allocations: 1.281 kB / 0.5244 GB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.3749, allocations: 100.5 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3749, allocations: 5.656 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3749, allocations: 0.7031 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3749, allocations: 1.094 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.375, allocations: 18.86 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.375, allocations: 1.984 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.3751, allocations: 10.98 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3751, allocations: 3.438 kB / 0.5245 GB, free: 14.68 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.0001158/0.3752, allocations: 125.2 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.3753, allocations: 14.42 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.3753, allocations: 13.75 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3753, allocations: 0 / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3753, allocations: 2.781 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.3754, allocations: 7.875 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.3759, allocations: 383.7 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3759, allocations: 1.438 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.3759, allocations: 12.02 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3759, allocations: 5.344 kB / 0.5251 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.376, allocations: 7.578 kB / 0.5251 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.376, allocations: 5.094 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.376, allocations: 0 / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.3762, allocations: 209.4 kB / 0.5253 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.3763, allocations: 88.59 kB / 0.5254 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.3764, allocations: 9.125 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.3764, allocations: 4.688 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.3765, allocations: 5.234 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3765, allocations: 4.141 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.3766, allocations: 119 kB / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3766, allocations: 5.375 kB / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.3769, allocations: 30.25 kB / 0.5255 GB, free: 13.78 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.002265/0.3792, allocations: 1.124 MB / 0.5266 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.3794, allocations: 61.73 kB / 0.5267 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3794, allocations: 0 / 0.5267 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.3795, allocations: 28.66 kB / 0.5267 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3799, allocations: 36.66 kB / 0.5268 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.3816, allocations: 1.547 MB / 0.5283 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.382, allocations: 0.6958 MB / 0.529 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.897e-05/0.382, allocations: 19.41 kB / 0.529 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.3821, allocations: 33.98 kB / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3821, allocations: 0 / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.4094, allocations: 3.551 MB / 0.5325 GB, free: 9.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.447, allocations: 5.938 kB / 0.5325 GB, free: 9.219 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches