Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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.001747/0.001747, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001909/0.001909, allocations: 205.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.512/1.512, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3403, allocations: 50.54 MB / 408.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002676/0.343, allocations: 1.596 MB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008932/0.3439, allocations: 0.5337 MB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/0.344, allocations: 0 / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.541e-05/0.344, allocations: 3.938 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.3442, allocations: 15.86 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.3445, allocations: 55.83 kB / 411 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.3446, allocations: 55.77 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3448, allocations: 16.19 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.3449, allocations: 31.92 kB / 411.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.345, allocations: 23.84 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.345, allocations: 4 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.205e-05/0.345, allocations: 4 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.3451, allocations: 15.92 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.3451, allocations: 27.81 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.3453, allocations: 62.62 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3453, allocations: 0 / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3453, allocations: 0 / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.3453, 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.0005269/0.3459, allocations: 395 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3459, allocations: 8.031 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.346, allocations: 30.75 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.3461, allocations: 20.88 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.3464, allocations: 211.7 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3464, allocations: 4.125 kB / 411.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.3465, allocations: 12 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.3467, allocations: 109.8 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3468, allocations: 3.938 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3468, allocations: 0 / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.3468, allocations: 4 kB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.453e-05/0.3469, allocations: 23.98 kB / 412 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.3473, allocations: 278.5 kB / 412.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.3474, allocations: 75.78 kB / 412.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.3475, allocations: 34.62 kB / 412.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.3475, allocations: 0 / 412.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3475, allocations: 30.56 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3476, allocations: 0 / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000292/0.3479, allocations: 93.5 kB / 412.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.3479, allocations: 106.8 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.3481, allocations: 149.7 kB / 412.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3481, allocations: 29.7 kB / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.3481, allocations: 84.52 kB / 412.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.3482, allocations: 8 kB / 412.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.3482, allocations: 25.66 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3483, allocations: 314.8 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.3484, allocations: 11.98 kB / 413.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.527e-05/0.3484, allocations: 35.36 kB / 413.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.112e-05/0.3485, allocations: 51.36 kB / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3485, allocations: 0 / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001296/0.3487, allocations: 69.66 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3487, allocations: 4 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3487, allocations: 8.125 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3487, allocations: 3.984 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.913e-05/0.3488, allocations: 15.98 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3488, allocations: 3.938 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.3489, allocations: 4 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3489, allocations: 0 / 413.4 MB, free: 12.59 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.224e-05/0.349, allocations: 125.8 kB / 413.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.3491, allocations: 53.55 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.3491, allocations: 19.92 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3491, allocations: 0 / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3491, allocations: 7.938 kB / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3491, allocations: 0 / 413.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.3493, allocations: 173.6 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3493, allocations: 0 / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.3494, allocations: 11.98 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3494, allocations: 0 / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3494, allocations: 0 / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3494, allocations: 0 / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3494, allocations: 15.81 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.3496, allocations: 177.2 kB / 414 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.3497, allocations: 89.05 kB / 414.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3497, allocations: 11.98 kB / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.3498, allocations: 0 / 414.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.3498, allocations: 11.94 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3498, allocations: 0 / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.356e-05/0.3499, allocations: 114.8 kB / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3499, allocations: 0 / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.3501, allocations: 4 kB / 414.2 MB, free: 11.68 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.0004275/0.3506, allocations: 0.7063 MB / 414.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.3507, allocations: 39.91 kB / 415 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3507, allocations: 0 / 415 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.3508, allocations: 11.94 kB / 415 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3512, allocations: 36.38 kB / 415 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3525, allocations: 1.402 MB / 416.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.3528, allocations: 0.6963 MB / 417.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.437e-05/0.3528, allocations: 0 / 417.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.3529, allocations: 19.42 kB / 417.1 MB, free: 8.602 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3529, allocations: 0 / 417.1 MB, free: 8.602 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.3693, allocations: 1.703 MB / 418.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.549, allocations: 2.531 kB / 418.8 MB, free: 7.008 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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_RealSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches