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.001884/0.001884, 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.002491/0.002491, 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.529/1.529, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3106, allocations: 50.54 MB / 408.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.00308/0.3138, allocations: 1.572 MB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3149, allocations: 0.557 MB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.513e-05/0.315, allocations: 0 / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.293e-05/0.3151, allocations: 7.922 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.3152, allocations: 15.88 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.3155, allocations: 59.81 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.3156, allocations: 47.78 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3157, allocations: 16.17 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3159, allocations: 27.86 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.968e-05/0.316, allocations: 23.84 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.316, allocations: 4 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.576e-05/0.316, allocations: 12 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.3161, allocations: 11.94 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.3161, allocations: 27.8 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.3163, allocations: 62.69 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3163, allocations: 0 / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3163, allocations: 0 / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3164, allocations: 0 / 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.0006647/0.317, allocations: 383.1 kB / 411.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.3171, allocations: 8.031 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.3171, allocations: 38.75 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.3173, allocations: 20.88 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.3177, allocations: 202.4 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3177, allocations: 8.375 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.3178, allocations: 4.359 kB / 411.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.3181, allocations: 109 kB / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3181, allocations: 3.938 kB / 411.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3182, allocations: 4 kB / 411.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3182, allocations: 0 / 411.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.3183, allocations: 15.98 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.3188, allocations: 269.7 kB / 412.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.818e-05/0.3189, allocations: 49.14 kB / 412.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.405e-05/0.319, allocations: 13.78 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.319, allocations: 7.938 kB / 412.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.319, allocations: 42.55 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.319, allocations: 0 / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002945/0.3193, allocations: 65.58 kB / 412.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.3194, allocations: 81.09 kB / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3196, allocations: 133.8 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.3196, allocations: 29.7 kB / 412.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.3197, allocations: 96.38 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.3197, allocations: 3.953 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.3198, allocations: 13.72 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.32, allocations: 322.8 kB / 413.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.32, allocations: 7.984 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.382e-05/0.3201, allocations: 17.72 kB / 413.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.895e-05/0.3202, allocations: 37.7 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3202, allocations: 0 / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001227/0.3203, allocations: 53.62 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3203, allocations: 8 kB / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3203, allocations: 0 / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3204, allocations: 0 / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.3204, allocations: 7.938 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3205, allocations: 4.062 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.3205, allocations: 15.98 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.3205, 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 0.0001149/0.3206, allocations: 113.8 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.3207, allocations: 41.66 kB / 413.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.3208, allocations: 15.81 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3208, allocations: 0 / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3208, allocations: 0 / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3208, allocations: 4.031 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.321, allocations: 177.5 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.321, allocations: 0 / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.3211, allocations: 4 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.3211, allocations: 3.984 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.3211, allocations: 7.938 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3211, allocations: 0 / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3211, allocations: 0 / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.3213, allocations: 164.3 kB / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.3214, allocations: 93.05 kB / 413.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.3214, allocations: 0 / 413.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.156e-05/0.3215, allocations: 3.984 kB / 413.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.3216, allocations: 7.938 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3216, allocations: 0 / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.3217, allocations: 114 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3217, allocations: 0 / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.3219, allocations: 8.031 kB / 414 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.0005604/0.3225, allocations: 0.6897 MB / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.3227, allocations: 31.95 kB / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3227, allocations: 0 / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.3227, allocations: 4 kB / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3231, allocations: 16.02 kB / 414.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.3246, allocations: 1.335 MB / 416 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.325, allocations: 0.6885 MB / 416.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.739e-05/0.3251, allocations: 4 kB / 416.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.3251, allocations: 15.44 kB / 416.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3251, allocations: 0 / 416.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.3482, allocations: 1.575 MB / 418.3 MB, free: 7.566 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.617, allocations: 4.859 kB / 418.3 MB, free: 7.562 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.1.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