Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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) 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(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001642/0.001642, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002148, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 59.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3017, allocations: 50.54 MB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003182/0.3049, allocations: 1.565 MB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3063, allocations: 0.5609 MB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.3064, allocations: 0 / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.398e-05/0.3065, allocations: 3.938 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.3067, allocations: 11.88 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.3071, allocations: 63.8 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.3072, allocations: 51.78 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3074, allocations: 12.19 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.3075, allocations: 35.84 kB / 411 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.792e-05/0.3076, allocations: 23.86 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3076, allocations: 0 / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.3077, allocations: 8 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.3077, allocations: 15.92 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.3078, allocations: 23.81 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.308, allocations: 58.69 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.308, allocations: 0 / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.308, allocations: 0 / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.308, allocations: 4 kB / 411.2 MB, free: 15.11 MB / 334.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.0006355/0.3087, allocations: 387 kB / 411.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001041/0.3088, allocations: 8.031 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.3088, allocations: 38.75 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.309, allocations: 16.88 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.3094, allocations: 210.4 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3094, allocations: 4.375 kB / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3094, allocations: 4.375 kB / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.3097, allocations: 109 kB / 411.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3098, allocations: 3.938 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3098, allocations: 0 / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3098, allocations: 0 / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.3099, allocations: 19.98 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.3102, allocations: 265.7 kB / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.125e-05/0.3103, allocations: 41.16 kB / 412.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.3104, allocations: 29.77 kB / 412.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.3104, allocations: 3.984 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3104, allocations: 34.5 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3105, allocations: 0 / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002672/0.3107, allocations: 69.56 kB / 412.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.3108, allocations: 81.36 kB / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3109, allocations: 145.8 kB / 412.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.311, allocations: 25.7 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.311, allocations: 84.14 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.311, allocations: 7.953 kB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.3111, allocations: 13.72 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.3112, allocations: 322.8 kB / 413.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.3113, allocations: 12 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.4e-05/0.3113, allocations: 25.7 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.048e-05/0.3114, allocations: 29.64 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3114, allocations: 0 / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000116/0.3115, allocations: 57.64 kB / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3116, allocations: 8.125 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3116, allocations: 0 / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3116, allocations: 0 / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.3117, allocations: 11.92 kB / 413.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3117, allocations: 4 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.3117, allocations: 0 / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.3117, allocations: 0 / 413.2 MB, free: 12.8 MB / 334.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.431e-05/0.3118, allocations: 129.7 kB / 413.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.3119, allocations: 37.66 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.3119, allocations: 15.83 kB / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.312, allocations: 0 / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.312, allocations: 4 kB / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.312, allocations: 0 / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.3122, allocations: 173.5 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3122, allocations: 3.984 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.3122, allocations: 4 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3122, allocations: 4 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.3123, allocations: 0 / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3123, allocations: 3.938 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3123, allocations: 4.031 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.3125, allocations: 160.3 kB / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.3125, allocations: 93.05 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3126, allocations: 0 / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.3126, allocations: 4 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.3127, allocations: 7.969 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.3127, allocations: 0 / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.824e-05/0.3128, allocations: 114 kB / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3128, allocations: 0 / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000224/0.313, allocations: 8 kB / 413.9 MB, free: 11.95 MB / 334.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.0005238/0.3135, allocations: 0.6976 MB / 414.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.3137, allocations: 15.98 kB / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3137, allocations: 3.938 kB / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.289e-05/0.3138, allocations: 15.98 kB / 414.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.3141, allocations: 19.27 kB / 414.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.3155, allocations: 1.339 MB / 416 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3159, allocations: 0.6885 MB / 416.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.808e-05/0.3159, allocations: 4.031 kB / 416.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.316, allocations: 19.42 kB / 416.8 MB, free: 9.004 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.316, allocations: 0 / 416.8 MB, free: 9.004 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.3398, allocations: 1.56 MB / 418.3 MB, free: 7.559 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/8.515, allocations: 0.875 kB / 418.3 MB, free: 7.559 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches