Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.001428, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, 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.2335/0.2335, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4274, allocations: 62.43 MB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003438/0.4309, allocations: 1.729 MB / 0.5323 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.4327, allocations: 1.028 MB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.689e-05/0.4328, allocations: 0 / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.4332, allocations: 41.39 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.4336, allocations: 91.11 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.4339, allocations: 80.28 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.4342, allocations: 101 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.4344, allocations: 14.84 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.4345, allocations: 48.23 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.4346, allocations: 41.34 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.4347, allocations: 4.125 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.4348, allocations: 44.84 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.4349, allocations: 14.81 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.435, allocations: 35.98 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.4354, allocations: 117.8 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.4354, allocations: 4 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.4354, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4354, allocations: 0 / 0.5339 GB, free: 10.88 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.0008731/0.4363, allocations: 428.6 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.4364, allocations: 10.16 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.4364, allocations: 36.47 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.4365, allocations: 8.734 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.4369, allocations: 221.9 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.4369, allocations: 5.5 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.437, allocations: 10.14 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.4371, allocations: 54.14 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4372, allocations: 0 / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.4372, allocations: 5.469 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4372, allocations: 3.984 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.4373, allocations: 22.27 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.4377, allocations: 287 kB / 0.5349 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.4379, allocations: 53.66 kB / 0.535 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.438, allocations: 25.78 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.438, allocations: 5.375 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.4382, allocations: 65.48 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.754e-06/0.4382, allocations: 0 / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005929/0.4388, allocations: 177.8 kB / 0.5353 GB, free: 9.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.4388, allocations: 52.75 kB / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.4391, allocations: 205.4 kB / 0.5355 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4391, allocations: 25.7 kB / 0.5355 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.4392, allocations: 106 kB / 0.5356 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.4392, allocations: 23.25 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.4393, allocations: 24.69 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4395, allocations: 322.1 kB / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.905e-05/0.4395, allocations: 22.36 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.81e-05/0.4396, allocations: 44.27 kB / 0.536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.4398, allocations: 54.59 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4398, allocations: 0 / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002203/0.44, allocations: 112 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.44, allocations: 4.969 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.44, allocations: 5.094 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4401, allocations: 1.25 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.447e-05/0.4402, allocations: 17.52 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4402, allocations: 4.031 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.561e-05/0.4402, allocations: 6.312 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.4403, allocations: 7.688 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.0001364/0.4404, allocations: 120.7 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.4405, allocations: 17.73 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.852e-05/0.4405, allocations: 14.91 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.4405, allocations: 1.375 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4405, allocations: 4 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4406, allocations: 7.938 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/0.4411, allocations: 390.6 kB / 0.5368 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4411, allocations: 1.375 kB / 0.5368 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.4411, allocations: 10.81 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.4411, allocations: 5.312 kB / 0.5368 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.4412, allocations: 5.375 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4412, allocations: 1.375 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4412, allocations: 0 / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.4414, allocations: 205.7 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.4415, allocations: 92.14 kB / 0.5371 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.4415, allocations: 5.469 kB / 0.5371 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.4416, allocations: 1.562 kB / 0.5371 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.4417, allocations: 11.2 kB / 0.5371 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.4417, allocations: 4.344 kB / 0.5371 GB, free: 7.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.4418, allocations: 152.3 kB / 0.5373 GB, free: 7.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4418, allocations: 0 / 0.5373 GB, free: 7.699 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.4421, allocations: 25.22 kB / 0.5373 GB, free: 7.691 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.001656/0.4438, allocations: 1.097 MB / 0.5383 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.444, allocations: 57.41 kB / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.444, allocations: 1.125 kB / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.484e-05/0.4441, allocations: 32.89 kB / 0.5384 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.4445, allocations: 32.45 kB / 0.5385 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.4468, allocations: 1.644 MB / 0.5401 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.4472, allocations: 0.706 MB / 0.5408 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.349e-05/0.4473, allocations: 26.05 kB / 0.5408 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.4474, allocations: 40.09 kB / 0.5408 GB, free: 4.582 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4475, allocations: 0 / 0.5408 GB, free: 4.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.4741, allocations: 3.446 MB / 0.5442 GB, free: 2.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.449/7.924, allocations: 12.97 kB / 0.5442 GB, free: 2.715 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_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_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches