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.001641/0.001641, allocations: 117.6 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.002133/0.002133, allocations: 199.9 kB / 18.74 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.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 59.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.277, allocations: 50.54 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003125/0.2802, allocations: 1.471 MB / 410.2 MB, free: 56 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000231/0.2805, allocations: 27.91 kB / 410.3 MB, free: 28 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.2806, allocations: 0 / 410.3 MB, free: 28 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.2806, allocations: 7.938 kB / 410.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.423e-05/0.2807, allocations: 3.938 kB / 410.3 MB, free: 16 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.2809, allocations: 16.02 kB / 410.3 MB, free: 16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.524e-05/0.281, allocations: 31.88 kB / 410.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2812, allocations: 8 kB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.2812, allocations: 23.91 kB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.436e-05/0.2813, allocations: 11.94 kB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2813, allocations: 0 / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-06/0.2813, allocations: 4 kB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.2813, allocations: 11.92 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.2814, allocations: 11.94 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.2815, allocations: 27.89 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2815, allocations: 0 / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2815, allocations: 0 / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2815, allocations: 0 / 410.4 MB, free: 15.87 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.0004229/0.2819, allocations: 350.4 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.282, allocations: 8.031 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.282, allocations: 38.67 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.2821, allocations: 8.891 kB / 410.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.2823, allocations: 180.2 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.2824, allocations: 4.375 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.2824, allocations: 384 / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.2827, allocations: 123.8 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.2828, allocations: 3.938 kB / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.2828, allocations: 7.922 kB / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2828, allocations: 0 / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.2829, allocations: 27.92 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.2831, allocations: 161.6 kB / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.2832, allocations: 54.55 kB / 411.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.2833, allocations: 32.92 kB / 411.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.2834, allocations: 0 / 411.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.2834, allocations: 34.56 kB / 411.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2834, allocations: 0 / 411.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002998/0.2837, allocations: 85.7 kB / 411.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.2837, allocations: 55.41 kB / 411.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.169e-05/0.2838, allocations: 105.8 kB / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2839, allocations: 29.7 kB / 411.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.2839, allocations: 84.14 kB / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.2839, allocations: 0 / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.284, allocations: 21.7 kB / 411.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.2841, allocations: 314.8 kB / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.2841, allocations: 4 kB / 412.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.944e-05/0.2841, allocations: 31.8 kB / 412.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.567e-05/0.2842, allocations: 43.38 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2842, allocations: 0 / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.3e-05/0.2843, allocations: 69.52 kB / 412.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2843, allocations: 8.062 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2843, allocations: 4 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.2844, allocations: 4 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.919e-05/0.2844, allocations: 7.938 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2844, allocations: 4 kB / 412.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.2845, allocations: 0 / 412.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.2845, allocations: 4 kB / 412.3 MB, free: 13.74 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 8.743e-05/0.2846, allocations: 113.8 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.2847, allocations: 73.55 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.2848, allocations: 11.89 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2848, allocations: 0 / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2848, allocations: 0 / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2848, allocations: 4 kB / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.2849, allocations: 157.6 kB / 412.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2849, allocations: 0 / 412.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.285, allocations: 11.98 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.285, allocations: 3.938 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.285, allocations: 0 / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.285, allocations: 0 / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.285, allocations: 0 / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.2852, allocations: 97.03 kB / 412.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.2853, allocations: 85 kB / 412.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.2853, allocations: 11.94 kB / 412.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.407e-05/0.2854, allocations: 4 kB / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-06/0.2854, allocations: 0 / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.2854, allocations: 3.984 kB / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.364e-05/0.2854, allocations: 87.28 kB / 412.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2854, allocations: 0 / 412.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001968/0.2856, allocations: 8 kB / 412.9 MB, free: 12.96 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.0005744/0.2862, allocations: 0.6398 MB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.2864, allocations: 35.92 kB / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2864, allocations: 320 / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.2864, allocations: 4 kB / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.2867, allocations: 24.02 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.2878, allocations: 1.177 MB / 414.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.2881, allocations: 0.6885 MB / 415.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.547e-05/0.2882, allocations: 288 / 415.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.2882, allocations: 15.44 kB / 415.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2882, allocations: 0 / 415.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.3064, allocations: 1.365 MB / 416.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.645/7.951, allocations: 8 kB / 416.9 MB, free: 8.969 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.0.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