Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001323, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 63.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2981, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002612/0.3007, allocations: 1.47 MB / 410.2 MB, free: 72 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001765/0.3009, allocations: 31.91 kB / 410.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.301, allocations: 0 / 410.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.3011, allocations: 3.938 kB / 410.3 MB, free: 36 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.3011, allocations: 7.938 kB / 410.3 MB, free: 28 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.3013, allocations: 15.98 kB / 410.3 MB, free: 12 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.518e-05/0.3014, allocations: 28 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.3015, allocations: 11.91 kB / 410.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.297e-05/0.3016, allocations: 11.92 kB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.3016, allocations: 15.92 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.3017, allocations: 4 kB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.3017, allocations: 8 kB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.3017, allocations: 7.938 kB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.3017, allocations: 11.94 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.056e-05/0.3018, allocations: 35.88 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3018, allocations: 0 / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3018, allocations: 0 / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3018, allocations: 0 / 410.4 MB, free: 15.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004644/0.3023, allocations: 342.4 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3024, allocations: 8.031 kB / 410.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.3024, allocations: 42.69 kB / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.3024, allocations: 8.891 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.3027, allocations: 176.2 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.3027, allocations: 8.375 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.3027, allocations: 384 / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.3031, allocations: 127.8 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3031, allocations: 7.938 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.3031, allocations: 3.938 kB / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3031, allocations: 0 / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.3033, allocations: 31.91 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.3034, allocations: 157.6 kB / 411.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.3036, allocations: 54.55 kB / 411.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.977e-05/0.3037, allocations: 24.92 kB / 411.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.3037, allocations: 3.984 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.3037, allocations: 34.56 kB / 411.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3038, allocations: 4 kB / 411.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002812/0.304, allocations: 81.53 kB / 411.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.3041, allocations: 55.41 kB / 411.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.3042, allocations: 105.8 kB / 411.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.3042, allocations: 29.7 kB / 411.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.3043, allocations: 80.14 kB / 411.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.3043, allocations: 7.984 kB / 411.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.3043, allocations: 17.72 kB / 411.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3045, allocations: 318.8 kB / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.3045, allocations: 0 / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.3045, allocations: 35.42 kB / 412.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.318e-05/0.3046, allocations: 39.38 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3046, allocations: 0 / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.082e-05/0.3047, allocations: 61.52 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3047, allocations: 14.59 kB / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3047, allocations: 0 / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3048, allocations: 0 / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.3048, allocations: 12.12 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.3048, allocations: 7.938 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.3049, allocations: 4 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.3049, allocations: 3.984 kB / 412.3 MB, free: 13.75 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.128e-05/0.305, allocations: 109.8 kB / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.3051, allocations: 73.55 kB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.3052, allocations: 7.906 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3052, allocations: 0 / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3052, allocations: 0 / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3052, allocations: 4 kB / 412.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.3053, allocations: 161.6 kB / 412.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3053, allocations: 384 / 412.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.3054, allocations: 8 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.3054, allocations: 11.94 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3054, allocations: 0 / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3054, allocations: 3.984 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3054, allocations: 0 / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.3056, allocations: 93.05 kB / 412.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.3057, allocations: 81.06 kB / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.3057, allocations: 11.88 kB / 412.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.383e-05/0.3057, allocations: 3.984 kB / 412.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-06/0.3057, allocations: 4 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3058, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.678e-05/0.3058, allocations: 83.28 kB / 412.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3058, allocations: 0 / 412.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000185/0.306, allocations: 4 kB / 412.9 MB, free: 12.99 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0006255/0.3066, allocations: 0.651 MB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.3068, allocations: 32.25 kB / 413.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3068, allocations: 0 / 413.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.3068, allocations: 0 / 413.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.3071, allocations: 28.45 kB / 413.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.3082, allocations: 1.181 MB / 414.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3085, allocations: 0.6846 MB / 415.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.909e-05/0.3086, allocations: 0 / 415.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.3086, allocations: 15.55 kB / 415.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3086, allocations: 0 / 415.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.3309, allocations: 1.369 MB / 416.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.199, allocations: 16.98 kB / 416.9 MB, free: 8.973 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,assignClock1.y Variables in the result:time,assignClock1.u,assignClock1.y,step.y,periodicClock1.period,step.height