Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",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.001653/0.001653, allocations: 100.9 kB / 17.05 MB, free: 6.102 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.002382/0.002382, allocations: 196.1 kB / 18 MB, free: 5.172 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.488/1.488, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 48.02 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2758, allocations: 49.44 MB / 400.2 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.00317/0.279, allocations: 1.547 MB / 401.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000952/0.28, allocations: 477.2 kB / 402.2 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.778e-05/0.2801, allocations: 3.938 kB / 402.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.235e-05/0.2802, allocations: 7.922 kB / 402.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.2803, allocations: 7.938 kB / 402.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.2806, allocations: 51.83 kB / 402.3 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.2808, allocations: 43.8 kB / 402.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.2809, allocations: 19.98 kB / 402.4 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.921e-05/0.281, allocations: 23.91 kB / 402.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.933e-05/0.281, allocations: 23.86 kB / 402.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.2811, allocations: 0 / 402.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.2811, allocations: 4 kB / 402.4 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.2812, allocations: 8 kB / 402.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.2812, allocations: 35.73 kB / 402.5 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.2814, allocations: 46.77 kB / 402.5 MB, free: 6.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2814, allocations: 0 / 402.5 MB, free: 6.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2814, allocations: 3.938 kB / 402.5 MB, free: 6.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2814, allocations: 4 kB / 402.5 MB, free: 6.652 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005904/0.282, allocations: 379.1 kB / 402.9 MB, free: 6.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.282, allocations: 8.031 kB / 402.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.2821, allocations: 42.62 kB / 402.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.2821, allocations: 8.891 kB / 402.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.2824, allocations: 200.2 kB / 403.1 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2825, allocations: 4.375 kB / 403.1 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.2825, allocations: 4.375 kB / 403.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.2828, allocations: 105.2 kB / 403.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.2828, allocations: 0 / 403.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.2828, allocations: 8 kB / 403.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2829, allocations: 0 / 403.3 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-05/0.2829, allocations: 19.92 kB / 403.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.2834, allocations: 265.7 kB / 403.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.2835, allocations: 49.14 kB / 403.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.453e-05/0.2835, allocations: 13.78 kB / 403.6 MB, free: 5.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.2836, allocations: 8 kB / 403.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.2836, allocations: 34.56 kB / 403.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.2836, allocations: 0 / 403.6 MB, free: 5.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002821/0.2839, allocations: 65.61 kB / 403.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/0.284, allocations: 77.11 kB / 403.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.2842, allocations: 149.3 kB / 403.9 MB, free: 5.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.2842, allocations: 25.7 kB / 403.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.2843, allocations: 92.14 kB / 404 MB, free: 4.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.2843, allocations: 3.938 kB / 404 MB, free: 4.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.2843, allocations: 17.67 kB / 404.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.2845, allocations: 322.8 kB / 404.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.2846, allocations: 4 kB / 404.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.277e-05/0.2846, allocations: 29.7 kB / 404.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.379e-05/0.2847, allocations: 25.7 kB / 404.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.2847, allocations: 0 / 404.4 MB, free: 4.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001313/0.2849, allocations: 53.62 kB / 404.5 MB, free: 4.402 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2849, allocations: 4 kB / 404.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.2849, allocations: 8.062 kB / 404.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.2849, allocations: 4 kB / 404.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.285, allocations: 11.97 kB / 404.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.285, allocations: 0 / 404.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.691e-05/0.2851, allocations: 3.938 kB / 404.5 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.2851, allocations: 4 kB / 404.5 MB, free: 4.367 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 0.0001114/0.2852, allocations: 121.8 kB / 404.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.115e-05/0.2853, allocations: 45.59 kB / 404.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.2853, allocations: 7.906 kB / 404.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2853, allocations: 4 kB / 404.7 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2854, allocations: 0 / 404.7 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2854, allocations: 3.984 kB / 404.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.2856, allocations: 173.5 kB / 404.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2856, allocations: 3.984 kB / 404.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.2856, allocations: 8 kB / 404.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2856, allocations: 0 / 404.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.2857, allocations: 0 / 404.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2857, allocations: 0 / 404.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2857, allocations: 0 / 404.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.2859, allocations: 172.2 kB / 405 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.376e-05/0.286, allocations: 89.05 kB / 405.1 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.286, allocations: 0 / 405.1 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.2861, allocations: 8 kB / 405.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.2861, allocations: 0 / 405.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.2861, allocations: 4.031 kB / 405.1 MB, free: 3.633 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.2862, allocations: 111.2 kB / 405.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2862, allocations: 0 / 405.3 MB, free: 3.523 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.2864, allocations: 4 kB / 405.3 MB, free: 3.52 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.0005382/0.287, allocations: 0.7014 MB / 406 MB, free: 2.789 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.2871, allocations: 19.98 kB / 406 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.2872, allocations: 4 kB / 406 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.2872, allocations: 7.984 kB / 406 MB, free: 2.758 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.2876, allocations: 18.69 kB / 406 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.289, allocations: 1.315 MB / 407.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.2893, allocations: 0.6961 MB / 408 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.72e-05/0.2893, allocations: 4 kB / 408 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.2894, allocations: 15.47 kB / 408 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2894, allocations: 0 / 408 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.3129, allocations: 1.548 MB / 409.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.284/8.597, allocations: 8.438 kB / 409.6 MB, free: 15.16 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_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_ClockSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches