Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001194/0.001194, allocations: 113.6 kB / 17.78 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 207.9 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 60.05 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2927, allocations: 50.54 MB / 408.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002866/0.2956, allocations: 1.569 MB / 410.3 MB, free: 84 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2966, allocations: 0.526 MB / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.2967, allocations: 3.938 kB / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.667e-05/0.2968, allocations: 3.938 kB / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.297, allocations: 11.88 kB / 410.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.2973, allocations: 55.88 kB / 410.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.2974, allocations: 47.78 kB / 411 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2976, allocations: 16.17 kB / 411 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.2977, allocations: 35.86 kB / 411 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.2978, allocations: 23.84 kB / 411 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.2978, allocations: 4 kB / 411 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.237e-05/0.2978, allocations: 8 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.2979, allocations: 15.92 kB / 411.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.2979, allocations: 23.81 kB / 411.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.2981, allocations: 62.69 kB / 411.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2981, allocations: 0 / 411.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2981, allocations: 0 / 411.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.2981, allocations: 0 / 411.1 MB, free: 15.25 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.0004676/0.2986, allocations: 383.1 kB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2987, allocations: 8.031 kB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.2987, allocations: 38.75 kB / 411.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.2989, allocations: 20.81 kB / 411.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.2992, allocations: 202.4 kB / 411.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.2992, allocations: 8.375 kB / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.2992, allocations: 8.312 kB / 411.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.2995, allocations: 113 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2995, allocations: 4 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2995, allocations: 0 / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2995, allocations: 0 / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.253e-05/0.2996, allocations: 23.92 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.3, allocations: 261.7 kB / 412.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.624e-05/0.3001, allocations: 57.12 kB / 412.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.3001, allocations: 17.78 kB / 412.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3001, allocations: 7.984 kB / 412.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3002, allocations: 30.56 kB / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3002, allocations: 0 / 412.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002502/0.3004, allocations: 73.56 kB / 412.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.3005, allocations: 77.36 kB / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3006, allocations: 141.8 kB / 412.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3006, allocations: 25.7 kB / 412.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.3007, allocations: 92.12 kB / 412.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.3007, allocations: 3.953 kB / 412.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.3008, allocations: 13.72 kB / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3009, allocations: 322.8 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.261e-05/0.3009, allocations: 7.984 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.349e-05/0.301, allocations: 21.72 kB / 413.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.517e-05/0.3011, allocations: 29.64 kB / 413.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3011, allocations: 0 / 413.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001237/0.3012, allocations: 61.56 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3012, allocations: 8 kB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3012, allocations: 4.125 kB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3012, allocations: 0 / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.3013, allocations: 4 kB / 413.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3013, allocations: 0 / 413.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.3014, allocations: 7.984 kB / 413.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3014, allocations: 4 kB / 413.2 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 7.835e-05/0.3015, allocations: 117.7 kB / 413.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.3015, allocations: 45.64 kB / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.3016, allocations: 15.86 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3016, allocations: 0 / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3016, allocations: 3.938 kB / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3016, allocations: 3.938 kB / 413.4 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.3018, allocations: 173.6 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3018, allocations: 0 / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.3018, allocations: 7.984 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3019, allocations: 0 / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3019, allocations: 4 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3019, allocations: 0 / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3019, allocations: 4 kB / 413.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.3021, allocations: 164.3 kB / 413.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.3021, allocations: 93.05 kB / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3021, allocations: 3.984 kB / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.3022, allocations: 7.938 kB / 413.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.3023, allocations: 0 / 413.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3023, allocations: 7.969 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.896e-05/0.3023, allocations: 114 kB / 413.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3024, allocations: 0 / 413.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.3026, allocations: 4 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.0004558/0.303, allocations: 0.6898 MB / 414.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.3032, allocations: 27.92 kB / 414.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3032, allocations: 0 / 414.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.3033, allocations: 4 kB / 414.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.3036, allocations: 18.67 kB / 414.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.305, allocations: 1.332 MB / 416 MB, free: 9.879 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.3052, allocations: 0.6885 MB / 416.7 MB, free: 9.164 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.995e-05/0.3053, allocations: 4 kB / 416.7 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.3053, allocations: 19.47 kB / 416.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3053, allocations: 0 / 416.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.3245, allocations: 1.563 MB / 418.3 MB, free: 7.691 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.424, allocations: 2.656 kB / 418.3 MB, free: 7.691 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches