Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 201.2 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.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 75.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3652, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003169/0.3684, allocations: 1.683 MB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.37, allocations: 1.003 MB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.3701, allocations: 0 / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.3704, allocations: 63.77 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.3707, allocations: 106.2 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.3709, allocations: 77.88 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.3711, allocations: 103.4 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.3711, allocations: 9.078 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.279e-05/0.3712, allocations: 51.2 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.089e-05/0.3713, allocations: 45.53 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3713, allocations: 3 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3714, allocations: 35.88 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.3715, allocations: 19.7 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.12e-05/0.3716, allocations: 35.52 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.3718, allocations: 108.5 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3718, allocations: 0 / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3718, allocations: 7.938 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.3718, allocations: 0 / 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005529/0.3724, allocations: 415.9 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3724, allocations: 8.719 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.3725, allocations: 32.09 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.3725, allocations: 17.69 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.3728, allocations: 212.6 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.3728, allocations: 5.891 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.3728, allocations: 9.344 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.373, allocations: 47.58 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.373, allocations: 0 / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.373, allocations: 4 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.373, allocations: 1.375 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.23e-05/0.3731, allocations: 16.17 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.3733, allocations: 187.4 kB / 0.5348 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.3734, allocations: 53.75 kB / 0.5348 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.3735, allocations: 21.09 kB / 0.5348 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3735, allocations: 1.375 kB / 0.5348 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.3737, allocations: 65.14 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.035e-06/0.3737, allocations: 0 / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002565/0.374, allocations: 94.69 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.374, allocations: 60.77 kB / 0.535 GB, free: 9.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.3742, allocations: 192.1 kB / 0.5352 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.3742, allocations: 27.08 kB / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.3743, allocations: 100.3 kB / 0.5354 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.3743, allocations: 22.58 kB / 0.5354 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.3743, allocations: 19.22 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.3744, allocations: 325.6 kB / 0.5357 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.3745, allocations: 12.25 kB / 0.5357 GB, free: 8.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.171e-05/0.3746, allocations: 31.33 kB / 0.5357 GB, free: 8.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.333e-05/0.3747, allocations: 51.77 kB / 0.5358 GB, free: 8.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.3747, allocations: 3.938 kB / 0.5358 GB, free: 8.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001444/0.3748, allocations: 83.78 kB / 0.5359 GB, free: 8.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.3748, allocations: 5.5 kB / 0.5359 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3748, allocations: 0 / 0.5359 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3749, allocations: 9.344 kB / 0.5359 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.3749, allocations: 12.23 kB / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3749, allocations: 1.375 kB / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.062e-05/0.375, allocations: 2.75 kB / 0.5359 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.375, allocations: 1.375 kB / 0.5359 GB, free: 8.832 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 9.145e-05/0.3751, allocations: 131.4 kB / 0.536 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.3751, allocations: 9.453 kB / 0.536 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.3752, allocations: 17.06 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3752, allocations: 0 / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3752, allocations: 5.375 kB / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3752, allocations: 3.984 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.3753, allocations: 188.7 kB / 0.5362 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3753, allocations: 1.375 kB / 0.5363 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.3754, allocations: 6.688 kB / 0.5363 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3754, allocations: 1.375 kB / 0.5363 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3754, allocations: 0 / 0.5363 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3754, allocations: 5.359 kB / 0.5363 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3754, allocations: 0 / 0.5363 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.3756, allocations: 110 kB / 0.5364 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.3756, allocations: 87.8 kB / 0.5365 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.3757, allocations: 1.375 kB / 0.5365 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.801e-05/0.3757, allocations: 9.484 kB / 0.5365 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.3757, allocations: 2.406 kB / 0.5365 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3758, allocations: 6.141 kB / 0.5365 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.3759, allocations: 144.2 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3759, allocations: 0 / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.3761, allocations: 28.52 kB / 0.5366 GB, free: 8.125 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.001194/0.3773, allocations: 0.9472 MB / 0.5376 GB, free: 7.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.3775, allocations: 44.02 kB / 0.5376 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3775, allocations: 0 / 0.5376 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.068e-05/0.3775, allocations: 28.48 kB / 0.5376 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.3778, allocations: 26.44 kB / 0.5377 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.3792, allocations: 1.495 MB / 0.5391 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3795, allocations: 0.7038 MB / 0.5398 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.938e-05/0.3795, allocations: 21.09 kB / 0.5398 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.3796, allocations: 33.3 kB / 0.5399 GB, free: 5.262 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3796, allocations: 0 / 0.5399 GB, free: 5.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.3991, allocations: 3.138 MB / 0.5429 GB, free: 3.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.449/7.848, allocations: 13.27 kB / 0.5429 GB, free: 3.539 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0014 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches