Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001323, 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.00167/0.00167, 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.404/1.404, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 79.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4221, allocations: 62.44 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003147/0.4253, allocations: 1.687 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.427, allocations: 1.002 MB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.4271, allocations: 0 / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.4274, allocations: 51 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.4277, allocations: 105.8 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.4279, allocations: 65.62 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.4281, allocations: 99.56 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.4282, allocations: 13.67 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.489e-05/0.4283, allocations: 46.89 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.4284, allocations: 29.48 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.4284, allocations: 4.125 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.443e-05/0.4285, allocations: 28.61 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.4285, allocations: 34.84 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.4286, allocations: 39.94 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.4289, allocations: 119.2 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4289, allocations: 1.375 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4289, allocations: 3.938 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.4289, allocations: 0 / 0.5338 GB, free: 10.91 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006192/0.4295, allocations: 446.1 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4296, allocations: 10.16 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.4296, allocations: 30.75 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.4297, allocations: 11.73 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.43, allocations: 227.7 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.43, allocations: 1.406 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.43, allocations: 5.594 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4302, allocations: 54.41 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4302, allocations: 5.562 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.4302, allocations: 0 / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4302, allocations: 0 / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.72e-05/0.4303, allocations: 16.8 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002162/0.4305, allocations: 191.4 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.4307, allocations: 55.7 kB / 0.5348 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.4308, allocations: 21.31 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.4308, allocations: 0 / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.431, allocations: 73.33 kB / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.431, allocations: 0 / 0.5349 GB, free: 9.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002859/0.4313, allocations: 100.3 kB / 0.535 GB, free: 9.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.4313, allocations: 52.56 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.4316, allocations: 270.6 kB / 0.5353 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.4316, allocations: 26.89 kB / 0.5354 GB, free: 9.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.4317, allocations: 116 kB / 0.5355 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.4317, allocations: 22.23 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.4318, allocations: 22.12 kB / 0.5355 GB, free: 9.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.432, allocations: 328.1 kB / 0.5358 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.682e-05/0.432, allocations: 19.92 kB / 0.5358 GB, free: 8.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.4321, allocations: 35.27 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.873e-05/0.4322, allocations: 38.84 kB / 0.5359 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4322, allocations: 5.312 kB / 0.5359 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001668/0.4324, allocations: 96.73 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4324, allocations: 6.062 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4325, allocations: 0 / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4325, allocations: 1.281 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.431e-05/0.4326, allocations: 9.312 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4326, allocations: 0 / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.4326, allocations: 10.83 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.4326, allocations: 2.25 kB / 0.536 GB, free: 8.797 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 (7): * Single equations (assignments): 7 * 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.0001203/0.4328, allocations: 136.8 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.4328, allocations: 22.8 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.4328, allocations: 15.88 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4328, allocations: 1.375 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4329, allocations: 0 / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4329, allocations: 3.938 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.433, allocations: 203.5 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.433, allocations: 0 / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.4331, allocations: 4.125 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4331, allocations: 0 / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.4331, allocations: 1.375 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4331, allocations: 4 kB / 0.5364 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4331, allocations: 1.375 kB / 0.5364 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.4333, allocations: 114 kB / 0.5365 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.4334, allocations: 89.14 kB / 0.5366 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.4334, allocations: 1.375 kB / 0.5366 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.4334, allocations: 9.359 kB / 0.5366 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.4335, allocations: 6.688 kB / 0.5366 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.4335, allocations: 5.375 kB / 0.5366 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.4337, allocations: 202.8 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4337, allocations: 0 / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.4339, allocations: 22.38 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001379/0.4353, allocations: 0.9465 MB / 0.5378 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.4355, allocations: 48.42 kB / 0.5378 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4355, allocations: 0 / 0.5378 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.4356, allocations: 24.05 kB / 0.5378 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.4359, allocations: 26.7 kB / 0.5379 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.4377, allocations: 1.681 MB / 0.5395 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.438, allocations: 0.7143 MB / 0.5402 GB, free: 5.148 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.198e-05/0.4381, allocations: 12.92 kB / 0.5402 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.4382, allocations: 41.58 kB / 0.5403 GB, free: 5.109 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4382, allocations: 0 / 0.5403 GB, free: 5.109 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.4614, allocations: 3.483 MB / 0.5437 GB, free: 3.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/8.226, allocations: 6.109 kB / 0.5437 GB, free: 3.234 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_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_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches