Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",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.001455/0.001455, allocations: 108.8 kB / 17.78 MB, free: 5.281 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.00151/0.00151, allocations: 180.9 kB / 18.71 MB, free: 4.359 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.319/1.319, 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.2064/0.2064, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3278, allocations: 60.82 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003285/0.3311, allocations: 1.915 MB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3325, allocations: 0.9234 MB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3327, allocations: 6.281 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.333, allocations: 34.69 kB / 0.5213 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.3333, allocations: 62.2 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.3337, allocations: 129.9 kB / 0.5215 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.3339, allocations: 135.9 kB / 0.5216 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.3341, allocations: 32.67 kB / 0.5216 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.3342, allocations: 58.08 kB / 0.5217 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.236e-05/0.3343, allocations: 48.48 kB / 0.5217 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.3344, allocations: 7.031 kB / 0.5218 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.3345, allocations: 49.06 kB / 0.5218 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.3345, allocations: 23.25 kB / 0.5218 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.3346, allocations: 55.67 kB / 0.5219 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3349, allocations: 152.2 kB / 0.522 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3349, allocations: 0.6562 kB / 0.522 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3349, allocations: 0 / 0.522 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3349, allocations: 1.094 kB / 0.522 GB, free: 0.9062 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.000556/0.3355, allocations: 480.8 kB / 0.5225 GB, free: 456 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3355, allocations: 13.39 kB / 0.5225 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.3356, allocations: 38.64 kB / 0.5225 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.3356, allocations: 20.31 kB / 0.5226 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.3359, allocations: 225.8 kB / 0.5228 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3359, allocations: 7.562 kB / 0.5228 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.3359, allocations: 9.25 kB / 0.5228 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.3361, allocations: 116.4 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3361, allocations: 1.156 kB / 0.5229 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3362, allocations: 5.125 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3362, allocations: 1.188 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.3363, allocations: 51.8 kB / 0.5229 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/0.337, allocations: 0.4961 MB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.3374, allocations: 98.81 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.3375, allocations: 37.67 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3376, allocations: 2.469 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.3378, allocations: 89.25 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.3378, allocations: 0 / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004311/0.3382, allocations: 146.3 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.3383, allocations: 54.33 kB / 0.5238 GB, free: 15.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.3385, allocations: 186.7 kB / 0.524 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.3385, allocations: 27.58 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.3386, allocations: 119.2 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.3386, allocations: 26.16 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.3387, allocations: 33.42 kB / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3388, allocations: 326.9 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.061e-05/0.3389, allocations: 29.48 kB / 0.5246 GB, free: 14.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.339, allocations: 67.41 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.3392, allocations: 100.5 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3392, allocations: 3.938 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002656/0.3395, allocations: 141 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3395, allocations: 6.312 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3395, allocations: 1.531 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3395, allocations: 5.562 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.3396, allocations: 22.16 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3396, allocations: 5.656 kB / 0.5249 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.3397, allocations: 18.48 kB / 0.5249 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.3397, allocations: 6 kB / 0.5249 GB, free: 14.44 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 9.907e-05/0.3398, allocations: 128.2 kB / 0.525 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.3399, allocations: 18.03 kB / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.3399, allocations: 16.86 kB / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3399, allocations: 3.938 kB / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.34, allocations: 2.688 kB / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.34, allocations: 0 / 0.5251 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.3401, allocations: 205.4 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3401, allocations: 0 / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.3402, allocations: 12.77 kB / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3402, allocations: 0 / 0.5253 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.3403, allocations: 7.266 kB / 0.5253 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3403, allocations: 7.938 kB / 0.5253 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3403, allocations: 0 / 0.5253 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.3407, allocations: 179.4 kB / 0.5255 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.3407, allocations: 93.41 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.3408, allocations: 2.328 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.3409, allocations: 9.281 kB / 0.5256 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.3409, allocations: 14.02 kB / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.3409, allocations: 8.094 kB / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.3411, allocations: 142.8 kB / 0.5257 GB, free: 13.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3411, allocations: 0 / 0.5257 GB, free: 13.75 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.3413, allocations: 24.39 kB / 0.5258 GB, free: 13.74 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.001572/0.3429, allocations: 1.022 MB / 0.5268 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.3432, allocations: 76.75 kB / 0.5268 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3432, allocations: 1.094 kB / 0.5268 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3433, allocations: 39.7 kB / 0.5269 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3437, allocations: 44.12 kB / 0.5269 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.3457, allocations: 1.726 MB / 0.5286 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.3459, allocations: 0.7146 MB / 0.5293 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.36e-05/0.346, allocations: 26.75 kB / 0.5293 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.3461, allocations: 39.58 kB / 0.5294 GB, free: 10.83 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3461, allocations: 1.375 kB / 0.5294 GB, free: 10.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.3667, allocations: 3.777 MB / 0.533 GB, free: 9.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.047, allocations: 7.812 kB / 0.5331 GB, free: 9.043 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_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_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches