Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001555/0.001555, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001898/0.001898, allocations: 202 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.432/1.432, 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.2302/0.2302, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 84.08 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3712, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002872/0.3741, allocations: 1.73 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3757, allocations: 1.023 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.3757, allocations: 1.406 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.376, allocations: 48.88 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.3763, allocations: 96.05 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.3765, allocations: 79.27 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.3767, allocations: 101 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.3768, allocations: 15.94 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.409e-05/0.3769, allocations: 43.58 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.3769, allocations: 37.58 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.377, allocations: 4.844 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-05/0.3771, allocations: 43.12 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.786e-05/0.3771, allocations: 24.27 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.3772, allocations: 35.3 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.3774, allocations: 127.6 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3774, allocations: 0 / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3774, allocations: 0 / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.3774, 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.0004898/0.3779, allocations: 434.1 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.378, allocations: 9.625 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.378, allocations: 32.12 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.3781, allocations: 14.38 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.3783, allocations: 224.6 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3783, allocations: 1.75 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3784, allocations: 10.67 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.3785, allocations: 54.05 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3785, allocations: 0 / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.3785, allocations: 0 / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3785, allocations: 1.375 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.372e-05/0.3786, allocations: 22.92 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.379, allocations: 294.8 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.3792, allocations: 53.92 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.3793, allocations: 22.42 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.3793, allocations: 5.375 kB / 0.535 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.3795, allocations: 77.05 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3795, allocations: 0 / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006085/0.3801, allocations: 178.3 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.3802, allocations: 52.78 kB / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.3804, allocations: 212 kB / 0.5355 GB, free: 9.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3805, allocations: 27.08 kB / 0.5356 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.3805, allocations: 105.6 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.3806, allocations: 22.61 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.3806, allocations: 24.58 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3808, allocations: 327 kB / 0.536 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.3808, allocations: 15 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.536e-05/0.3809, allocations: 39.27 kB / 0.5361 GB, free: 8.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.381, allocations: 63.36 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3811, allocations: 4 kB / 0.5361 GB, free: 8.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002072/0.3813, allocations: 111.5 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3813, allocations: 5.375 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3813, allocations: 1.281 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3813, allocations: 1.375 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/0.3814, allocations: 12.91 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3814, allocations: 1.031 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.3815, allocations: 13.39 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3815, allocations: 3.125 kB / 0.5363 GB, free: 8.617 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.0001007/0.3816, allocations: 128 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.3817, allocations: 13.88 kB / 0.5364 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.3817, allocations: 19.86 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3817, allocations: 1.312 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3817, allocations: 4 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3817, allocations: 3.938 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004474/0.3822, allocations: 399.6 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3822, allocations: 5.156 kB / 0.5368 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.3822, allocations: 10.81 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3823, allocations: 5.094 kB / 0.5368 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3823, allocations: 6.344 kB / 0.5368 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3823, allocations: 5.094 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3823, allocations: 0 / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.3825, allocations: 196.8 kB / 0.537 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.3826, allocations: 92.42 kB / 0.5371 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3826, allocations: 10.12 kB / 0.5371 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.3827, allocations: 1.219 kB / 0.5371 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.3827, allocations: 7.391 kB / 0.5371 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3827, allocations: 4.5 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.3829, allocations: 166 kB / 0.5373 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3829, allocations: 0 / 0.5373 GB, free: 7.648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000251/0.3831, allocations: 21.06 kB / 0.5373 GB, free: 7.645 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.001429/0.3846, allocations: 1.095 MB / 0.5384 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.3848, allocations: 61.62 kB / 0.5385 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3848, allocations: 3.938 kB / 0.5385 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.138e-05/0.3848, allocations: 30.11 kB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.3852, allocations: 29.34 kB / 0.5385 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.387, allocations: 1.689 MB / 0.5402 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.3873, allocations: 0.7112 MB / 0.5409 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.3873, allocations: 21.48 kB / 0.5409 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.3874, allocations: 35.98 kB / 0.5409 GB, free: 4.512 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3874, allocations: 4 kB / 0.5409 GB, free: 4.508 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.4097, allocations: 3.497 MB / 0.5443 GB, free: 2.633 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.135, allocations: 6.484 kB / 0.5443 GB, free: 2.629 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_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_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches