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.001195/0.001195, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001258/0.001258, allocations: 195 kB / 18 MB, free: 5.074 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.633/1.633, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 51.91 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3145, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002887/0.3174, allocations: 1.549 MB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008329/0.3183, allocations: 480.4 kB / 402.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.709e-05/0.3184, allocations: 4 kB / 402.2 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.56e-05/0.3185, allocations: 3.938 kB / 402.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.3186, allocations: 15.86 kB / 402.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.3189, allocations: 49.83 kB / 402.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.319, allocations: 47.8 kB / 402.4 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3191, allocations: 11.98 kB / 402.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.58e-05/0.3192, allocations: 19.92 kB / 402.4 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.3193, allocations: 23.86 kB / 402.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3193, allocations: 4 kB / 402.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.3193, allocations: 0 / 402.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.035e-05/0.3194, allocations: 23.86 kB / 402.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.3194, allocations: 27.81 kB / 402.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3195, allocations: 50.75 kB / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3195, allocations: 0 / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3196, allocations: 0 / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3196, allocations: 4 kB / 402.5 MB, free: 6.496 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.0004795/0.32, allocations: 371.1 kB / 402.9 MB, free: 6.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3201, allocations: 15.95 kB / 402.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.3201, allocations: 42.73 kB / 402.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.3202, allocations: 12.89 kB / 403 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.3204, allocations: 203.3 kB / 403.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3204, allocations: 4.312 kB / 403.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3205, allocations: 4.375 kB / 403.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.3207, allocations: 109.2 kB / 403.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.3207, allocations: 0 / 403.3 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.3207, allocations: 4 kB / 403.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3208, allocations: 0 / 403.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.512e-05/0.3208, allocations: 15.98 kB / 403.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.3212, allocations: 265.7 kB / 403.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.847e-05/0.3212, allocations: 45.16 kB / 403.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.3213, allocations: 21.77 kB / 403.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3213, allocations: 0 / 403.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.3214, allocations: 38.5 kB / 403.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3214, allocations: 0 / 403.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002348/0.3216, allocations: 65.67 kB / 403.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.3217, allocations: 81.05 kB / 403.8 MB, free: 5.004 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3218, allocations: 138.1 kB / 403.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.3218, allocations: 29.7 kB / 404 MB, free: 4.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.3219, allocations: 92.12 kB / 404 MB, free: 4.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.3219, allocations: 0 / 404 MB, free: 4.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.3219, allocations: 21.92 kB / 404.1 MB, free: 4.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.322, allocations: 326.8 kB / 404.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.3221, allocations: 4 kB / 404.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/0.3221, allocations: 21.7 kB / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.493e-05/0.3222, allocations: 33.7 kB / 404.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3222, allocations: 3.938 kB / 404.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001079/0.3223, allocations: 49.69 kB / 404.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3224, allocations: 7.938 kB / 404.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3224, allocations: 4 kB / 404.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3224, allocations: 0 / 404.5 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.929e-05/0.3225, allocations: 4 kB / 404.5 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3225, allocations: 3.984 kB / 404.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.3225, allocations: 11.88 kB / 404.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3225, allocations: 4.062 kB / 404.5 MB, free: 4.207 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 7.809e-05/0.3226, allocations: 117.8 kB / 404.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.3227, allocations: 45.64 kB / 404.7 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.3227, allocations: 7.875 kB / 404.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3227, allocations: 0 / 404.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3227, allocations: 0 / 404.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3227, allocations: 4 kB / 404.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.3229, allocations: 173.6 kB / 404.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3229, allocations: 4.031 kB / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.323, allocations: 7.984 kB / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.323, allocations: 0 / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.323, allocations: 0 / 404.9 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.323, allocations: 4 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.323, allocations: 0 / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.3232, allocations: 164.2 kB / 405 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.3232, allocations: 89.05 kB / 405.1 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.3233, allocations: 7.984 kB / 405.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-05/0.3233, allocations: 4 kB / 405.1 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.3234, allocations: 4 kB / 405.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3234, allocations: 0 / 405.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.759e-05/0.3235, allocations: 109.8 kB / 405.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3235, allocations: 0 / 405.3 MB, free: 3.375 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.3237, allocations: 4 kB / 405.3 MB, free: 3.371 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.0004285/0.3241, allocations: 0.7014 MB / 406 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.3243, allocations: 19.98 kB / 406 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3243, allocations: 8.156 kB / 406 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.3243, allocations: 11.94 kB / 406 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.3247, allocations: 23.94 kB / 406 MB, free: 2.578 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3259, allocations: 1.312 MB / 407.3 MB, free: 1.176 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.3261, allocations: 0.6922 MB / 408 MB, free: 468 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.708e-05/0.3262, allocations: 7.969 kB / 408 MB, free: 460 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.3262, allocations: 11.44 kB / 408 MB, free: 448 kB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3262, allocations: 4 kB / 408.1 MB, free: 444 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.3441, allocations: 1.535 MB / 409.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.404, allocations: 12.36 kB / 409.6 MB, free: 15 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