Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001104, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001785/0.001785, allocations: 207.8 kB / 18.74 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.422/1.422, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.312/0.312, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4241, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003949/0.4281, allocations: 1.728 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.4302, allocations: 1.022 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.4303, allocations: 1.375 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.4307, allocations: 41.39 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.4311, allocations: 92.47 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.4314, allocations: 82.91 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.4316, allocations: 96.95 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.4318, allocations: 18.86 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.432, allocations: 44.28 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.4321, allocations: 38.72 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.4321, allocations: 4.125 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.4323, allocations: 39.48 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.4324, allocations: 22.73 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.4324, allocations: 39.98 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.4328, allocations: 117.8 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4328, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4328, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.4328, allocations: 1.375 kB / 0.5339 GB, free: 10.86 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.0008396/0.4337, allocations: 432.5 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.4338, allocations: 9.031 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.4338, allocations: 32.09 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.4339, allocations: 9.234 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.4343, allocations: 226 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.4343, allocations: 5.203 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.4343, allocations: 6.406 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.4345, allocations: 58.06 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4345, allocations: 7.938 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.4346, allocations: 1.406 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4346, allocations: 0 / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.524e-05/0.4347, allocations: 22.33 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.4351, allocations: 286.9 kB / 0.5349 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.4353, allocations: 58.91 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.818e-05/0.4354, allocations: 25.56 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.4355, allocations: 1.781 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.4356, allocations: 63.77 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4357, allocations: 0 / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006197/0.4363, allocations: 178.5 kB / 0.5353 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.4364, allocations: 56.84 kB / 0.5353 GB, free: 9.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.4366, allocations: 200.6 kB / 0.5355 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.4367, allocations: 26.8 kB / 0.5355 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.4368, allocations: 100.7 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.4368, allocations: 32.55 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.4369, allocations: 20.41 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.437, allocations: 326.3 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.176e-05/0.4371, allocations: 18.23 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.4372, allocations: 39.98 kB / 0.536 GB, free: 8.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.4373, allocations: 59.09 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4373, allocations: 0 / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000229/0.4375, allocations: 107.4 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.4376, allocations: 6.188 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4376, allocations: 7.875 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4376, allocations: 1.156 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.4377, allocations: 17.22 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.4377, allocations: 5.078 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.4378, allocations: 6.375 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.4378, allocations: 3.125 kB / 0.5362 GB, free: 8.637 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.0001378/0.438, allocations: 122.7 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.438, allocations: 17.39 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.4381, allocations: 18.84 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4381, allocations: 1.375 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4381, allocations: 8 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4381, allocations: 5.312 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.4386, allocations: 393.2 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4386, allocations: 1.375 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.4387, allocations: 8.25 kB / 0.5368 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.4387, allocations: 3.938 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.4387, allocations: 2.75 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4387, allocations: 0 / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4387, allocations: 1.375 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.439, allocations: 204.5 kB / 0.537 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.4391, allocations: 88.11 kB / 0.5371 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.4391, allocations: 8.844 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.4392, allocations: 2.438 kB / 0.5371 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.4393, allocations: 12.17 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.4393, allocations: 6.438 kB / 0.5371 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.4395, allocations: 148.9 kB / 0.5373 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4395, allocations: 0 / 0.5373 GB, free: 7.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000288/0.4398, allocations: 25.12 kB / 0.5373 GB, free: 7.676 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.001675/0.4415, allocations: 1.104 MB / 0.5384 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.4417, allocations: 57.36 kB / 0.5384 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4417, allocations: 0 / 0.5384 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.4418, allocations: 38.55 kB / 0.5384 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.4423, allocations: 19.86 kB / 0.5385 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.4445, allocations: 1.656 MB / 0.5401 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.4449, allocations: 0.7092 MB / 0.5408 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.996e-05/0.445, allocations: 15.31 kB / 0.5408 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.4451, allocations: 35.39 kB / 0.5408 GB, free: 4.566 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4451, allocations: 0 / 0.5408 GB, free: 4.566 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.4674, allocations: 3.436 MB / 0.5442 GB, free: 2.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.144, allocations: 24.11 kB / 0.5442 GB, free: 2.695 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_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_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches