Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.00119, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2391/0.2391, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 79.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4288, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003094/0.432, allocations: 1.723 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.4337, allocations: 1.027 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.4338, allocations: 0 / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.4341, allocations: 42.8 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.4345, allocations: 91.27 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.4347, allocations: 73.92 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.4349, allocations: 110.1 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.435, allocations: 11.39 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.264e-05/0.4351, allocations: 47.16 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.386e-05/0.4352, allocations: 37.8 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.4352, allocations: 4.062 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.811e-05/0.4353, allocations: 44.72 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.4354, allocations: 18.05 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.4354, allocations: 35.11 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.4357, allocations: 120.5 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4357, allocations: 5.359 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4357, allocations: 0 / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.4357, allocations: 0 / 0.5339 GB, free: 10.85 MB / 398.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.0005605/0.4363, allocations: 415.5 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.4363, allocations: 9.625 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.4364, allocations: 40.11 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.4364, allocations: 12.97 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.4367, allocations: 212.6 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.4367, allocations: 5.75 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.4367, allocations: 10.69 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.4369, allocations: 50.05 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4369, allocations: 3.938 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.4369, allocations: 4 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4369, allocations: 1.375 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.437, allocations: 18.98 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.4374, allocations: 285.5 kB / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.4376, allocations: 61.92 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.4376, allocations: 21.05 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.4377, allocations: 1.375 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.4378, allocations: 69.14 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.4378, allocations: 4 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005943/0.4384, allocations: 182.3 kB / 0.5352 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.4385, allocations: 52.78 kB / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.4387, allocations: 190.1 kB / 0.5355 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.4387, allocations: 25.7 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.4388, allocations: 101.6 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.4389, allocations: 19.98 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.4389, allocations: 28.58 kB / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4391, allocations: 325.6 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.4391, allocations: 15 kB / 0.536 GB, free: 8.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-05/0.4392, allocations: 43.11 kB / 0.536 GB, free: 8.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.4394, allocations: 58.83 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4394, allocations: 1.031 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001998/0.4396, allocations: 110.5 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4396, allocations: 6.469 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4396, allocations: 0 / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4396, allocations: 1.375 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.4397, allocations: 12.69 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4398, allocations: 1.094 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.4398, allocations: 14.02 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.4398, allocations: 2.844 kB / 0.5362 GB, free: 8.648 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.0001232/0.44, allocations: 121.6 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.44, allocations: 14.27 kB / 0.5363 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.44, allocations: 21.39 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4401, allocations: 1.25 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4401, allocations: 0 / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4401, allocations: 5.281 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.4406, allocations: 392.8 kB / 0.5367 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4406, allocations: 1.062 kB / 0.5367 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.4406, allocations: 10.86 kB / 0.5368 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4406, allocations: 13.12 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.4407, allocations: 2.281 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.4407, allocations: 1.625 kB / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4407, allocations: 0 / 0.5368 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.4409, allocations: 200.8 kB / 0.537 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/0.441, allocations: 91.25 kB / 0.5371 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.4411, allocations: 14.08 kB / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.4411, allocations: 10.34 kB / 0.5371 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.4412, allocations: 7.438 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.4412, allocations: 7.266 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.4413, allocations: 135.6 kB / 0.5372 GB, free: 7.691 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4413, allocations: 0 / 0.5372 GB, free: 7.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.4416, allocations: 21.19 kB / 0.5372 GB, free: 7.688 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.001633/0.4433, allocations: 1.09 MB / 0.5383 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.4435, allocations: 61.98 kB / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4435, allocations: 0 / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.706e-05/0.4436, allocations: 37.97 kB / 0.5384 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.4439, allocations: 29.69 kB / 0.5384 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.4457, allocations: 1.636 MB / 0.54 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.446, allocations: 0.7008 MB / 0.5407 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.329e-05/0.4461, allocations: 18.69 kB / 0.5407 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.4461, allocations: 38.97 kB / 0.5408 GB, free: 4.582 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4461, allocations: 0 / 0.5408 GB, free: 4.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.4689, allocations: 3.374 MB / 0.5441 GB, free: 2.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.143, allocations: 20.94 kB / 0.5441 GB, free: 2.75 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches