Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",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.001504/0.001504, 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.001384/0.001384, allocations: 193.4 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.5/1.5, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 47.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3236, allocations: 49.45 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003187/0.3268, allocations: 1.551 MB / 401.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3279, allocations: 494.3 kB / 402.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.328, allocations: 7.938 kB / 402.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.375e-05/0.3281, allocations: 7.922 kB / 402.3 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.3282, allocations: 11.94 kB / 402.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.3285, allocations: 47.83 kB / 402.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.3286, allocations: 55.77 kB / 402.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3288, allocations: 15.94 kB / 402.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.273e-05/0.3288, allocations: 19.92 kB / 402.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.3289, allocations: 23.84 kB / 402.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.3289, allocations: 7.938 kB / 402.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/0.329, allocations: 8 kB / 402.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.329, allocations: 11.98 kB / 402.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.3291, allocations: 19.81 kB / 402.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.3292, allocations: 58.69 kB / 402.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.559e-05/0.3292, allocations: 4 kB / 402.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3292, allocations: 0 / 402.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.3293, allocations: 0 / 402.6 MB, free: 6.473 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.0005603/0.3298, allocations: 371.1 kB / 402.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3299, allocations: 8.031 kB / 402.9 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.682e-05/0.3299, allocations: 34.75 kB / 403 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.33, allocations: 20.83 kB / 403 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.3303, allocations: 203.4 kB / 403.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3303, allocations: 4.375 kB / 403.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.3303, allocations: 8.359 kB / 403.2 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.3306, allocations: 105.2 kB / 403.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3306, allocations: 0 / 403.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3306, allocations: 0 / 403.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3307, allocations: 3.984 kB / 403.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.834e-05/0.3307, allocations: 16 kB / 403.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.3311, allocations: 269.6 kB / 403.6 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.726e-05/0.3312, allocations: 45.2 kB / 403.6 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.3313, allocations: 17.78 kB / 403.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.3313, allocations: 3.984 kB / 403.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.3313, allocations: 38.48 kB / 403.7 MB, free: 5.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3313, allocations: 8 kB / 403.7 MB, free: 5.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002532/0.3316, allocations: 61.62 kB / 403.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.3317, allocations: 81.09 kB / 403.8 MB, free: 4.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3318, allocations: 142.1 kB / 404 MB, free: 4.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3319, allocations: 25.7 kB / 404 MB, free: 4.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.3319, allocations: 84.14 kB / 404.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.332, allocations: 256 / 404.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.332, allocations: 29.66 kB / 404.1 MB, free: 4.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.3322, allocations: 322.8 kB / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.3323, allocations: 7.984 kB / 404.4 MB, free: 4.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.026e-05/0.3323, allocations: 13.72 kB / 404.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.371e-05/0.3324, allocations: 37.7 kB / 404.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-06/0.3324, allocations: 0 / 404.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001148/0.3325, allocations: 53.67 kB / 404.5 MB, free: 4.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3325, allocations: 11.94 kB / 404.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3326, allocations: 0 / 404.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3326, allocations: 3.938 kB / 404.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.3326, allocations: 4 kB / 404.5 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3327, allocations: 3.938 kB / 404.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.3327, allocations: 12 kB / 404.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.3327, allocations: 0 / 404.6 MB, free: 4.188 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.952e-05/0.3328, allocations: 125.8 kB / 404.7 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.3329, allocations: 37.66 kB / 404.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.3329, allocations: 15.86 kB / 404.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3329, allocations: 0 / 404.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3329, allocations: 0 / 404.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.333, allocations: 4 kB / 404.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.3332, allocations: 173.6 kB / 404.9 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3332, allocations: 4.031 kB / 404.9 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.3332, allocations: 4 kB / 404.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3332, allocations: 0 / 404.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.3332, allocations: 0 / 404.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3332, allocations: 4 kB / 404.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3332, allocations: 7.922 kB / 404.9 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.3334, allocations: 160.3 kB / 405.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.3335, allocations: 93.05 kB / 405.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3336, allocations: 0 / 405.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.396e-05/0.3336, allocations: 0 / 405.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.3337, allocations: 7.984 kB / 405.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.3337, allocations: 0 / 405.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.09e-05/0.3338, allocations: 109.8 kB / 405.3 MB, free: 3.352 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3338, allocations: 0 / 405.3 MB, free: 3.352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.334, allocations: 4 kB / 405.3 MB, free: 3.348 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.0005376/0.3345, allocations: 0.7014 MB / 406 MB, free: 2.617 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.3347, allocations: 23.98 kB / 406 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3347, allocations: 4.156 kB / 406 MB, free: 2.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.3347, allocations: 11.92 kB / 406 MB, free: 2.578 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.3351, allocations: 16.02 kB / 406.1 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.3365, allocations: 1.31 MB / 407.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.3368, allocations: 0.6961 MB / 408.1 MB, free: 452 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.557e-05/0.3369, allocations: 3.984 kB / 408.1 MB, free: 448 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.3369, allocations: 23.42 kB / 408.1 MB, free: 424 kB / 318.1 MB Notification: Performance of SimCode: time 2.635e-06/0.3369, allocations: 0 / 408.1 MB, free: 424 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.3605, allocations: 1.534 MB / 409.6 MB, free: 15 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.631, allocations: 19.89 kB / 409.6 MB, free: 14.98 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv --start-time 0 --stop-time 0.08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches