Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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.001508/0.001508, allocations: 117.6 kB / 17.78 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.001794/0.001794, allocations: 200.7 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.448/1.448, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3104, allocations: 50.52 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.002775/0.3132, allocations: 1.604 MB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000975/0.3142, allocations: 0.5687 MB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.351e-05/0.3143, allocations: 0 / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.071e-05/0.3144, allocations: 7.875 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.3145, allocations: 7.938 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.3149, allocations: 67.73 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.315, allocations: 47.84 kB / 411.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.3151, allocations: 12.19 kB / 411.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3152, allocations: 35.84 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.3153, allocations: 15.92 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3153, allocations: 4 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.189e-05/0.3154, allocations: 11.94 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.3154, allocations: 11.98 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.3154, allocations: 35.67 kB / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.3156, allocations: 58.75 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3156, allocations: 0 / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3156, allocations: 0 / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.3156, allocations: 0 / 411.2 MB, free: 15.08 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.0004896/0.3161, allocations: 391 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3162, allocations: 8.031 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.773e-05/0.3162, allocations: 38.75 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.3164, allocations: 16.88 kB / 411.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.3166, allocations: 208.1 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3167, allocations: 4.125 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.3167, allocations: 11.94 kB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.3169, allocations: 113.9 kB / 412 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.317, allocations: 4 kB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.317, allocations: 0 / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.317, allocations: 0 / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.337e-05/0.3171, allocations: 23.98 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.3174, allocations: 282.5 kB / 412.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3176, allocations: 79.72 kB / 412.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.3176, allocations: 34.62 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3177, allocations: 0 / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3177, allocations: 34.56 kB / 412.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3177, allocations: 0 / 412.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002587/0.318, allocations: 89.48 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.3181, allocations: 110.8 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.3182, allocations: 149.7 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.3182, allocations: 29.64 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.3183, allocations: 92.14 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.3183, allocations: 384 / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3184, allocations: 29.66 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3185, allocations: 310.8 kB / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.59e-05/0.3185, allocations: 15.98 kB / 413.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.85e-05/0.3186, allocations: 31.42 kB / 413.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.828e-05/0.3187, allocations: 51.36 kB / 413.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3187, allocations: 0 / 413.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001273/0.3188, allocations: 65.56 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3189, allocations: 8 kB / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3189, allocations: 128 / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3189, allocations: 4 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.319, allocations: 11.98 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.319, allocations: 3.938 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.319, allocations: 4 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.3191, allocations: 4 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.832e-05/0.3191, allocations: 125.8 kB / 413.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.3192, allocations: 53.55 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.3193, allocations: 15.92 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3193, allocations: 4 kB / 413.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3193, allocations: 3.938 kB / 413.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3193, allocations: 0 / 413.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.3195, allocations: 177.6 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3195, allocations: 0 / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.3196, allocations: 11.98 kB / 413.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3196, allocations: 0 / 413.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3196, allocations: 0 / 413.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3196, allocations: 7.938 kB / 413.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3196, allocations: 3.938 kB / 413.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.3198, allocations: 173.2 kB / 414 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.3199, allocations: 93.05 kB / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.3199, allocations: 7.984 kB / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.32, allocations: 0 / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.32, allocations: 11.88 kB / 414.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.32, allocations: 4 kB / 414.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.716e-05/0.3201, allocations: 122.8 kB / 414.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3201, allocations: 0 / 414.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.3203, allocations: 4 kB / 414.2 MB, free: 11.64 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.000461/0.3208, allocations: 0.7102 MB / 415 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.321, allocations: 31.91 kB / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.321, allocations: 4 kB / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.321, allocations: 8 kB / 415 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3214, allocations: 36.34 kB / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.3228, allocations: 1.401 MB / 416.4 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.3231, allocations: 0.6924 MB / 417.1 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.084e-05/0.3231, allocations: 4 kB / 417.1 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.3232, allocations: 19.42 kB / 417.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3232, allocations: 0 / 417.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.3399, allocations: 1.699 MB / 418.9 MB, free: 6.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/8.748, allocations: 7.641 kB / 418.9 MB, free: 6.977 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches