Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.001688/0.001688, 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.001923/0.001923, allocations: 180.2 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.475/1.475, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.24/0.24, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 67.91 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3533, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002652/0.356, allocations: 1.701 MB / 0.5202 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3578, allocations: 1.488 MB / 0.5216 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.3579, allocations: 5.438 kB / 0.5216 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.3582, allocations: 31.69 kB / 0.5217 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.3584, allocations: 59.47 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.3587, allocations: 114.8 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.3588, allocations: 100.3 kB / 0.5219 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.3589, allocations: 7.125 kB / 0.5219 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.186e-05/0.359, allocations: 42.17 kB / 0.522 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.3592, allocations: 35.25 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3592, allocations: 3.719 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.3593, allocations: 59.77 kB / 0.5221 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.3594, allocations: 27.2 kB / 0.5221 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.3594, allocations: 32.94 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.3597, allocations: 121.5 kB / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3597, allocations: 0 / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3597, allocations: 0 / 0.5222 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3597, allocations: 2.109 kB / 0.5222 GB, free: 0.7461 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.0004889/0.3602, allocations: 404.2 kB / 0.5226 GB, free: 352 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3602, allocations: 9.547 kB / 0.5226 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.757e-05/0.3603, allocations: 37.08 kB / 0.5227 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.3603, allocations: 12.39 kB / 0.5227 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.3606, allocations: 210.7 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.3606, allocations: 5.812 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.3606, allocations: 6.062 kB / 0.5229 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3608, allocations: 70.59 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3608, allocations: 5.453 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3608, allocations: 0.7031 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3608, allocations: 1.375 kB / 0.523 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.3609, allocations: 21.56 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.3613, allocations: 287.3 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.3615, allocations: 58.06 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.3616, allocations: 23.17 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3616, allocations: 5.953 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.3618, allocations: 65.95 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 4.037e-06/0.3618, allocations: 0 / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005819/0.3624, allocations: 167.3 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.3625, allocations: 79.05 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.3627, allocations: 161.8 kB / 0.5238 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3627, allocations: 26.92 kB / 0.5238 GB, free: 15.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.3628, allocations: 98.02 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.3628, allocations: 28.84 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.3629, allocations: 28.28 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.363, allocations: 320.7 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.3631, allocations: 17.27 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.3632, allocations: 41.69 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.3633, allocations: 60.78 kB / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3633, allocations: 3.938 kB / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001913/0.3635, allocations: 97.11 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3635, allocations: 5.344 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.3636, allocations: 1.031 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3636, allocations: 1.844 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-05/0.3637, allocations: 18.78 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3637, allocations: 1.75 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.3637, allocations: 10.92 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3637, allocations: 3.094 kB / 0.5245 GB, free: 14.66 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.0001101/0.3639, allocations: 124.2 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.3639, allocations: 13.59 kB / 0.5247 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.3639, allocations: 14.16 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3639, allocations: 1.156 kB / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.364, allocations: 0 / 0.5247 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.364, allocations: 13.52 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.3645, allocations: 389 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3645, allocations: 0 / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.3645, allocations: 9.656 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3645, allocations: 3.938 kB / 0.5251 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3645, allocations: 6.828 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3646, allocations: 3.109 kB / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3646, allocations: 0 / 0.5251 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.3648, allocations: 200 kB / 0.5253 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.3649, allocations: 89.2 kB / 0.5254 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.3649, allocations: 10.8 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.365, allocations: 1.953 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.365, allocations: 5.359 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.3651, allocations: 6.453 kB / 0.5254 GB, free: 13.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3652, allocations: 117.6 kB / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3652, allocations: 0 / 0.5255 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000279/0.3655, allocations: 34.61 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.002375/0.3678, allocations: 1.137 MB / 0.5266 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002114/0.3681, allocations: 61.23 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3681, allocations: 4.062 kB / 0.5267 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.857e-05/0.3682, allocations: 29.12 kB / 0.5267 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.3685, allocations: 36.39 kB / 0.5268 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.3704, allocations: 1.541 MB / 0.5283 GB, free: 11.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.3708, allocations: 0.6992 MB / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.761e-05/0.3709, allocations: 19.3 kB / 0.529 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/0.3709, allocations: 32.83 kB / 0.529 GB, free: 10.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.371, allocations: 0 / 0.529 GB, free: 10.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.4015, allocations: 3.556 MB / 0.5325 GB, free: 9.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.445, allocations: 5.719 kB / 0.5325 GB, free: 9.195 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_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_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches