Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.001366/0.001366, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001381/0.001382, 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.429/1.429, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2287/0.2287, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 63.91 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3898, allocations: 60.82 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00282/0.3926, allocations: 1.705 MB / 0.5202 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3939, allocations: 0.8754 MB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.394, allocations: 1.5 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.3943, allocations: 40.56 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.3945, allocations: 55.28 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.3948, allocations: 108.8 kB / 0.5212 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.395, allocations: 100.2 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.3951, allocations: 11.75 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.738e-05/0.3952, allocations: 40.41 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.548e-05/0.3953, allocations: 35.03 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.3953, allocations: 3.25 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3954, allocations: 42.78 kB / 0.5214 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.3954, allocations: 21.8 kB / 0.5215 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.3955, allocations: 37.48 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.3957, allocations: 110.3 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3957, allocations: 5.219 kB / 0.5216 GB, free: 1.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3957, allocations: 0 / 0.5216 GB, free: 1.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.3957, allocations: 0 / 0.5216 GB, free: 1.23 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.0004742/0.3962, allocations: 417.5 kB / 0.522 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3963, allocations: 10.77 kB / 0.522 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.3963, allocations: 36.58 kB / 0.5221 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.3963, allocations: 9.109 kB / 0.5221 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3966, allocations: 206.8 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3966, allocations: 1.594 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.3966, allocations: 10.81 kB / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.3968, allocations: 62.06 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3968, allocations: 1.062 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.3968, allocations: 0 / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3968, allocations: 1.156 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.183e-05/0.3969, allocations: 26.34 kB / 0.5224 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.3972, allocations: 290.4 kB / 0.5226 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3974, allocations: 60.53 kB / 0.5227 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.3975, allocations: 20.55 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.3975, allocations: 1.344 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.3976, allocations: 69.31 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3976, allocations: 0 / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005337/0.3982, allocations: 177.1 kB / 0.523 GB, free: 0 / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.3983, allocations: 56.53 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.3985, allocations: 190.5 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3985, allocations: 31.2 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.3986, allocations: 103.3 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.3986, allocations: 22.06 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.3987, allocations: 22.84 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3988, allocations: 325.3 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.3989, allocations: 22.19 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/0.399, allocations: 34.94 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.3991, allocations: 57.44 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3991, allocations: 0 / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002027/0.3993, allocations: 107 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3994, allocations: 8.531 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3994, allocations: 0.9688 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3994, allocations: 1.156 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.887e-05/0.3995, allocations: 19.75 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3995, allocations: 0.9688 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.3995, allocations: 7.266 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3996, allocations: 6.469 kB / 0.5239 GB, free: 15.17 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.0001165/0.3997, allocations: 125.3 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.3997, allocations: 13.48 kB / 0.5241 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.3998, allocations: 19.86 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3998, allocations: 1.125 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3998, allocations: 0 / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.3998, allocations: 9.844 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.4003, allocations: 394.1 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4003, allocations: 3.938 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.4004, allocations: 12.72 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4004, allocations: 5.375 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4004, allocations: 6.109 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4004, allocations: 1.156 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4004, allocations: 1.312 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.4007, allocations: 196.4 kB / 0.5247 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.4007, allocations: 88.91 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.4008, allocations: 11.17 kB / 0.5248 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.4008, allocations: 7.109 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.4009, allocations: 5.516 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.4009, allocations: 8.172 kB / 0.5248 GB, free: 14.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.401, allocations: 144.5 kB / 0.5249 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4011, allocations: 0 / 0.5249 GB, free: 14.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.4013, allocations: 26.22 kB / 0.525 GB, free: 14.28 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.00213/0.4035, allocations: 1.092 MB / 0.526 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.4037, allocations: 63.12 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4037, allocations: 0.9688 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.022e-05/0.4038, allocations: 32.58 kB / 0.5261 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.4041, allocations: 32.14 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.406, allocations: 1.634 MB / 0.5277 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.4064, allocations: 0.7042 MB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.916e-05/0.4065, allocations: 12.73 kB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.24e-05/0.4065, allocations: 34.78 kB / 0.5285 GB, free: 11.32 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4065, allocations: 0 / 0.5285 GB, free: 11.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.4315, allocations: 3.371 MB / 0.5318 GB, free: 9.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.36, allocations: 9.016 kB / 0.5318 GB, free: 9.875 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_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_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches