Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001801/0.001801, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002067/0.002068, allocations: 202 kB / 18.74 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.551/1.551, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 63.84 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3324, allocations: 50.54 MB / 408.8 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003044/0.3355, allocations: 1.569 MB / 410.3 MB, free: 0 / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3366, allocations: 0.5181 MB / 410.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.3367, allocations: 8 kB / 410.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.564e-05/0.3368, allocations: 3.938 kB / 410.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.3369, allocations: 7.922 kB / 410.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.3373, allocations: 51.83 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.3374, allocations: 43.8 kB / 411 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3375, allocations: 15.97 kB / 411 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.3376, allocations: 31.86 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.3377, allocations: 19.88 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3377, allocations: 0 / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.262e-05/0.3378, allocations: 8 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.3378, allocations: 15.97 kB / 411.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.3379, allocations: 19.81 kB / 411.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.338, allocations: 54.7 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3381, allocations: 0 / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3381, allocations: 0 / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3381, allocations: 0 / 411.1 MB, free: 15.2 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000574/0.3386, allocations: 371.2 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3387, allocations: 12.03 kB / 411.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.3388, allocations: 38.75 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.3389, allocations: 16.88 kB / 411.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.3392, allocations: 204.1 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3392, allocations: 384 / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.3392, allocations: 4.375 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.3395, allocations: 93.23 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3395, allocations: 3.938 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.3395, allocations: 0 / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3395, allocations: 7.969 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.3396, allocations: 12 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.34, allocations: 269.7 kB / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.973e-05/0.3401, allocations: 45.14 kB / 412.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.3402, allocations: 21.78 kB / 412.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.3402, allocations: 0 / 412.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.3402, allocations: 42.55 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 2.795e-06/0.3402, allocations: 0 / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002443/0.3405, allocations: 65.58 kB / 412.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.3406, allocations: 85.03 kB / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3407, allocations: 141.1 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3407, allocations: 33.64 kB / 412.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.3408, allocations: 88.39 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.3408, allocations: 0 / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.3408, allocations: 21.66 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.341, allocations: 322.8 kB / 413 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.082e-05/0.341, allocations: 7.984 kB / 413 MB, free: 13.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.279e-05/0.3411, allocations: 17.72 kB / 413 MB, free: 13.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.934e-05/0.3412, allocations: 29.77 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3412, allocations: 0 / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00012/0.3413, allocations: 57.61 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3413, allocations: 8 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.3413, allocations: 0 / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3414, allocations: 0 / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.3414, allocations: 4 kB / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3414, allocations: 4.062 kB / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.3415, allocations: 4 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.3415, allocations: 4 kB / 413.1 MB, free: 12.93 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 0.0001136/0.3416, allocations: 125.7 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.3417, allocations: 41.66 kB / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.3417, allocations: 15.81 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3417, allocations: 0 / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3418, allocations: 0 / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3418, allocations: 32 / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.342, allocations: 181.5 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.342, allocations: 0 / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.342, allocations: 7.938 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.342, allocations: 0 / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.342, allocations: 0 / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3421, allocations: 4 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.3421, allocations: 3.984 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.3423, allocations: 164.2 kB / 413.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.3423, allocations: 93.05 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3424, allocations: 4 kB / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.3424, allocations: 0 / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.3425, allocations: 7.984 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.3425, allocations: 0 / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.1e-05/0.3426, allocations: 109.3 kB / 413.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3426, allocations: 0 / 413.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.3428, allocations: 8.031 kB / 413.9 MB, free: 12.07 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.0005258/0.3433, allocations: 0.6936 MB / 414.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.3435, allocations: 28.02 kB / 414.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3435, allocations: 0 / 414.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/0.3436, allocations: 7.984 kB / 414.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.3439, allocations: 15.97 kB / 414.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.3453, allocations: 1.324 MB / 415.9 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3456, allocations: 0.6846 MB / 416.6 MB, free: 9.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.3457, allocations: 4 kB / 416.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.3457, allocations: 15.42 kB / 416.6 MB, free: 9.156 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3457, allocations: 0 / 416.6 MB, free: 9.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.3695, allocations: 1.497 MB / 418.1 MB, free: 7.773 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.488/8.858, allocations: 19.48 kB / 418.2 MB, free: 7.758 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches