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.001143/0.001143, 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.00129/0.00129, allocations: 198 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.483/1.483, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.89 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.321, allocations: 50.53 MB / 408.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.00285/0.3239, allocations: 1.47 MB / 410.2 MB, free: 28 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001747/0.3241, allocations: 27.91 kB / 410.3 MB, free: 0 / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.315e-05/0.3242, allocations: 0 / 410.3 MB, free: 0 / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.833e-05/0.3243, allocations: 4.047 kB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.3243, allocations: 7.938 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.3246, allocations: 19.98 kB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.013e-05/0.3247, allocations: 31.91 kB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.3248, allocations: 8 kB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.612e-05/0.3248, allocations: 15.81 kB / 410.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.3249, allocations: 11.94 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3249, allocations: 4 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.3249, allocations: 0 / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.3249, allocations: 11.92 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.325, allocations: 19.92 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.002e-05/0.3251, allocations: 23.91 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3251, allocations: 0 / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3251, allocations: 0 / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3251, allocations: 4 kB / 410.4 MB, free: 15.84 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.0004487/0.3256, allocations: 342.4 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3256, allocations: 12.03 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.3257, allocations: 34.73 kB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.3257, allocations: 12.83 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.3259, allocations: 188.2 kB / 411 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3259, allocations: 384 / 411 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.326, allocations: 8.312 kB / 411 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.3263, allocations: 123.8 kB / 411.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3263, allocations: 3.938 kB / 411.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3264, allocations: 0 / 411.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3264, allocations: 3.984 kB / 411.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.3265, allocations: 31.92 kB / 411.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.3267, allocations: 161.6 kB / 411.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3268, allocations: 54.58 kB / 411.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.853e-05/0.3269, allocations: 24.89 kB / 411.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.327, allocations: 3.984 kB / 411.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.327, allocations: 30.56 kB / 411.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.327, allocations: 4 kB / 411.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002755/0.3273, allocations: 89.53 kB / 411.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.3273, allocations: 55.41 kB / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.235e-05/0.3274, allocations: 101.8 kB / 411.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3275, allocations: 29.7 kB / 411.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.3275, allocations: 84.14 kB / 411.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.3275, allocations: 0 / 411.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.3276, allocations: 17.72 kB / 411.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3277, allocations: 318.8 kB / 412.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.3277, allocations: 4 kB / 412.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.762e-05/0.3278, allocations: 27.44 kB / 412.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.764e-05/0.3278, allocations: 43.36 kB / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3278, allocations: 0 / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001449/0.328, allocations: 69.52 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.328, allocations: 14.75 kB / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.328, allocations: 0 / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.328, allocations: 0 / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.3281, allocations: 11.94 kB / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3281, allocations: 0 / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.3282, allocations: 4 kB / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.3282, allocations: 4.125 kB / 412.3 MB, free: 13.7 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.243e-05/0.3282, allocations: 113.8 kB / 412.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.3284, allocations: 69.55 kB / 412.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.3285, allocations: 11.89 kB / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3285, allocations: 384 / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3285, allocations: 0 / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3285, allocations: 0 / 412.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.3286, allocations: 161.6 kB / 412.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3286, allocations: 0 / 412.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.788e-05/0.3287, allocations: 15.98 kB / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3287, allocations: 3.938 kB / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.3287, allocations: 3.938 kB / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3287, allocations: 4 kB / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3287, allocations: 0 / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.3289, allocations: 89.09 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.3289, allocations: 81.06 kB / 412.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3289, allocations: 3.938 kB / 412.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.329, allocations: 15.94 kB / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-06/0.329, allocations: 0 / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.329, allocations: 7.984 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.199e-05/0.3291, allocations: 79.28 kB / 412.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3291, allocations: 0 / 412.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001929/0.3293, allocations: 8 kB / 412.9 MB, free: 12.93 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.0005839/0.3298, allocations: 0.6437 MB / 413.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.3301, allocations: 32.25 kB / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3301, allocations: 0 / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.3301, allocations: 0 / 413.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3304, allocations: 28.16 kB / 413.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3317, allocations: 1.182 MB / 414.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.3322, allocations: 0.688 MB / 415.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.583e-05/0.3322, allocations: 0 / 415.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.3322, allocations: 11.44 kB / 415.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3322, allocations: 4 kB / 415.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.3527, allocations: 1.357 MB / 416.9 MB, free: 8.945 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.204, allocations: 20.95 kB / 416.9 MB, free: 8.93 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