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.001929/0.001929, allocations: 113.8 kB / 17.78 MB, free: 5.262 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.001943/0.001943, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.548/1.548, 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.2274/0.2274, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 71.88 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3548, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002983/0.3579, allocations: 1.913 MB / 0.5204 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3593, allocations: 0.9224 MB / 0.5213 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3594, allocations: 5.062 kB / 0.5213 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.3598, allocations: 39.3 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.36, allocations: 57.56 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.3604, allocations: 131.3 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.3606, allocations: 134.4 kB / 0.5216 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3607, allocations: 29.58 kB / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.862e-05/0.3608, allocations: 55.3 kB / 0.5217 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.3609, allocations: 49.77 kB / 0.5217 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.361, allocations: 6.875 kB / 0.5218 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3611, allocations: 48.75 kB / 0.5218 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.3611, allocations: 27.08 kB / 0.5218 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.3612, allocations: 50.97 kB / 0.5219 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.3615, allocations: 153 kB / 0.522 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3615, allocations: 0 / 0.522 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3615, allocations: 0 / 0.522 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3615, allocations: 1.5 kB / 0.522 GB, free: 0.9414 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.0005995/0.3621, allocations: 480.7 kB / 0.5225 GB, free: 492 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3622, allocations: 13.25 kB / 0.5225 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.3622, allocations: 38.78 kB / 0.5225 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.3623, allocations: 17.08 kB / 0.5225 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.3625, allocations: 229.4 kB / 0.5228 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3626, allocations: 7.391 kB / 0.5228 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.3626, allocations: 9.438 kB / 0.5228 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3628, allocations: 105.2 kB / 0.5229 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3628, allocations: 0 / 0.5229 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3628, allocations: 9.844 kB / 0.5229 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3628, allocations: 2.25 kB / 0.5229 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.363, allocations: 50.48 kB / 0.5229 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.3636, allocations: 0.4969 MB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.364, allocations: 94.86 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3641, allocations: 45 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3641, allocations: 2.281 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.3643, allocations: 80.75 kB / 0.5236 GB, free: 15.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.3643, allocations: 4 kB / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004234/0.3648, allocations: 148.1 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.3648, allocations: 53.2 kB / 0.5238 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.3651, allocations: 187.3 kB / 0.524 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.3651, allocations: 31.94 kB / 0.524 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/0.3652, allocations: 118.5 kB / 0.5242 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.3652, allocations: 21.94 kB / 0.5242 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.3653, allocations: 32.66 kB / 0.5242 GB, free: 15.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3654, allocations: 324.6 kB / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.38e-05/0.3655, allocations: 28.09 kB / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.3657, allocations: 71.69 kB / 0.5246 GB, free: 14.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.3659, allocations: 96.02 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3659, allocations: 0 / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002897/0.3662, allocations: 145.6 kB / 0.5248 GB, free: 14.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3662, allocations: 9.625 kB / 0.5249 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.3662, allocations: 2.5 kB / 0.5249 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.3663, allocations: 6.5 kB / 0.5249 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3664, allocations: 21.36 kB / 0.5249 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.3664, allocations: 6.219 kB / 0.5249 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.3665, allocations: 18.06 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3665, allocations: 8.531 kB / 0.5249 GB, free: 14.48 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.0001217/0.3666, allocations: 135.1 kB / 0.525 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.3666, allocations: 19.39 kB / 0.5251 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.3667, allocations: 14.95 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3667, allocations: 5.797 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3667, allocations: 1.156 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3667, allocations: 0.7031 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.3669, allocations: 209.5 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.367, allocations: 0 / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.452e-05/0.367, allocations: 12.03 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.367, allocations: 1.219 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3671, allocations: 1.781 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3671, allocations: 5 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3671, allocations: 4.656 kB / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.3675, allocations: 179.5 kB / 0.5255 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.3675, allocations: 96.53 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3676, allocations: 2.547 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.249e-05/0.3676, allocations: 9.688 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.3677, allocations: 14.11 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.3677, allocations: 8.203 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.3678, allocations: 138.6 kB / 0.5257 GB, free: 13.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3678, allocations: 0 / 0.5257 GB, free: 13.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.3681, allocations: 23.86 kB / 0.5258 GB, free: 13.78 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.002003/0.3701, allocations: 1.019 MB / 0.5268 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.3704, allocations: 80.36 kB / 0.5268 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3704, allocations: 2.25 kB / 0.5268 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3705, allocations: 38.64 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.0003236/0.3708, allocations: 39.78 kB / 0.5269 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.373, allocations: 1.725 MB / 0.5286 GB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.3733, allocations: 0.7176 MB / 0.5293 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.545e-05/0.3734, allocations: 20.02 kB / 0.5293 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.936e-05/0.3735, allocations: 44.3 kB / 0.5294 GB, free: 10.87 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3735, allocations: 0 / 0.5294 GB, free: 10.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.4001, allocations: 3.788 MB / 0.5331 GB, free: 9.082 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.328, allocations: 9 kB / 0.5331 GB, free: 9.074 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