Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 114.1 kB / 17.06 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002264/0.002264, allocations: 191 kB / 17.99 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001143, allocations: 43.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3733, allocations: 49.45 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.00415/0.3775, allocations: 1.535 MB / 401.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.3785, allocations: 481 kB / 402.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.189e-05/0.3786, allocations: 0 / 402.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.7e-05/0.3787, allocations: 3.938 kB / 402.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.3788, allocations: 15.92 kB / 402.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.3791, allocations: 39.84 kB / 402.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3792, allocations: 39.84 kB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3793, allocations: 11.94 kB / 402.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.3794, allocations: 19.92 kB / 402.4 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.3795, allocations: 23.91 kB / 402.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.3795, allocations: 0 / 402.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.3795, allocations: 4 kB / 402.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.3796, allocations: 11.94 kB / 402.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.3796, allocations: 19.81 kB / 402.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.3798, allocations: 54.69 kB / 402.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3798, allocations: 0 / 402.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3798, allocations: 0 / 402.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3798, allocations: 0 / 402.5 MB, free: 6.566 MB / 318.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.0005267/0.3803, allocations: 375.1 kB / 402.9 MB, free: 6.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3804, allocations: 12.03 kB / 402.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.3804, allocations: 38.69 kB / 402.9 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.3805, allocations: 12.89 kB / 402.9 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.3808, allocations: 188.2 kB / 403.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3808, allocations: 8.375 kB / 403.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.3808, allocations: 384 / 403.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.3811, allocations: 93.17 kB / 403.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.3811, allocations: 4 kB / 403.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.3811, allocations: 0 / 403.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.3811, allocations: 0 / 403.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.3812, allocations: 19.92 kB / 403.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.3816, allocations: 269.7 kB / 403.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.429e-05/0.3817, allocations: 45.2 kB / 403.5 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.996e-05/0.3817, allocations: 13.78 kB / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.3818, allocations: 11.92 kB / 403.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3818, allocations: 34.56 kB / 403.6 MB, free: 5.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3818, allocations: 0 / 403.6 MB, free: 5.266 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002428/0.3821, allocations: 73.56 kB / 403.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.3821, allocations: 77.11 kB / 403.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3822, allocations: 137.8 kB / 403.9 MB, free: 4.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.3823, allocations: 25.7 kB / 403.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.3823, allocations: 88.39 kB / 404 MB, free: 4.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.3824, allocations: 4 kB / 404 MB, free: 4.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.3824, allocations: 17.67 kB / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3825, allocations: 322.8 kB / 404.3 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.862e-05/0.3826, allocations: 4 kB / 404.3 MB, free: 4.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.3826, allocations: 21.7 kB / 404.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.81e-05/0.3827, allocations: 37.7 kB / 404.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3827, allocations: 0 / 404.4 MB, free: 4.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001381/0.3829, allocations: 49.69 kB / 404.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3829, allocations: 10.34 kB / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3829, allocations: 3.984 kB / 404.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3829, allocations: 0 / 404.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.397e-05/0.383, allocations: 11.92 kB / 404.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.383, allocations: 4.062 kB / 404.5 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.3831, allocations: 4 kB / 404.5 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3831, allocations: 0 / 404.5 MB, free: 4.316 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.048e-05/0.3832, allocations: 125.7 kB / 404.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-05/0.3832, allocations: 37.66 kB / 404.6 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.3833, allocations: 11.88 kB / 404.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3833, allocations: 0 / 404.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3833, allocations: 0 / 404.6 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3833, allocations: 4.031 kB / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.3835, allocations: 169.6 kB / 404.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3835, allocations: 0 / 404.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.3835, allocations: 7.984 kB / 404.8 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3835, allocations: 3.938 kB / 404.8 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.3836, allocations: 7.938 kB / 404.8 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3836, allocations: 4 kB / 404.8 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3836, allocations: 0 / 404.8 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3838, allocations: 164.3 kB / 405 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/0.3838, allocations: 93.05 kB / 405.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.3839, allocations: 4 kB / 405.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-05/0.3839, allocations: 0 / 405.1 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.384, allocations: 4 kB / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.384, allocations: 0 / 405.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.83e-05/0.3841, allocations: 107.2 kB / 405.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3841, allocations: 4.031 kB / 405.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.3843, allocations: 4 kB / 405.2 MB, free: 3.473 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004665/0.3848, allocations: 0.6975 MB / 405.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.3849, allocations: 27.95 kB / 405.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3849, allocations: 0 / 405.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.385, allocations: 8 kB / 405.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.3853, allocations: 16.02 kB / 405.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.3866, allocations: 1.318 MB / 407.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3869, allocations: 0.6922 MB / 408 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.306e-05/0.3869, allocations: 0 / 408 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.387, allocations: 23.42 kB / 408 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of SimCode: time 2.264e-06/0.387, allocations: 0 / 408 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.4059, allocations: 1.469 MB / 409.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.582, allocations: 8.359 kB / 409.5 MB, free: 15.2 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches