Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00125/0.00125, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001581/0.00158, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3873, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003558/0.3909, allocations: 1.472 MB / 410.2 MB, free: 60 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002697/0.3912, allocations: 31.84 kB / 410.3 MB, free: 28 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.3913, allocations: 4 kB / 410.3 MB, free: 24 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.3914, allocations: 3.938 kB / 410.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.3915, allocations: 7.938 kB / 410.3 MB, free: 12 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.3918, allocations: 28.05 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3919, allocations: 31.83 kB / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.392, allocations: 8 kB / 410.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.281e-05/0.3921, allocations: 19.92 kB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.3922, allocations: 19.92 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.3922, allocations: 4 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.3923, allocations: 4 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.3923, allocations: 15.91 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.3923, allocations: 15.94 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.3925, allocations: 43.81 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3925, allocations: 0 / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3925, allocations: 0 / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3925, allocations: 0 / 410.5 MB, free: 15.82 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.0006021/0.3931, allocations: 353.1 kB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.3932, allocations: 12.03 kB / 410.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.3932, allocations: 34.69 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.3933, allocations: 8.844 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.3936, allocations: 184.3 kB / 411 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.3936, allocations: 384 / 411 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.3936, allocations: 8.359 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.3943, allocations: 163.7 kB / 411.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3943, allocations: 3.938 kB / 411.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3943, allocations: 0 / 411.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3943, allocations: 3.938 kB / 411.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.3946, allocations: 51.94 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.3948, allocations: 165.6 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.3952, allocations: 82.5 kB / 411.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.3954, allocations: 40.89 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.3954, allocations: 3.938 kB / 411.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3954, allocations: 34.56 kB / 411.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.3954, allocations: 4 kB / 411.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005675/0.396, allocations: 113.5 kB / 411.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.3961, allocations: 55.34 kB / 411.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3962, allocations: 109.8 kB / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3963, allocations: 25.7 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.3963, allocations: 84.14 kB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.3963, allocations: 3.984 kB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.3964, allocations: 17.72 kB / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3966, allocations: 318.8 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.3966, allocations: 7.938 kB / 412.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.3966, allocations: 31.42 kB / 412.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.083e-05/0.3967, allocations: 43.38 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3967, allocations: 0 / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001107/0.3968, allocations: 57.53 kB / 412.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3969, allocations: 11.94 kB / 412.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3969, allocations: 0 / 412.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3969, allocations: 0 / 412.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.302e-05/0.397, allocations: 8 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.397, allocations: 4 kB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.3971, allocations: 8.109 kB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.3971, allocations: 4 kB / 412.5 MB, free: 13.54 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.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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.754e-05/0.3972, allocations: 117.8 kB / 412.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.3975, allocations: 89.58 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.3975, allocations: 11.91 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3975, allocations: 0 / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.3976, allocations: 3.984 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3976, allocations: 0 / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.3977, allocations: 161.6 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3977, allocations: 4 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.3978, allocations: 15.98 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3978, allocations: 3.938 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3979, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3979, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3979, allocations: 7.875 kB / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.3982, allocations: 113.1 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.3983, allocations: 84.95 kB / 413.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.3983, allocations: 11.94 kB / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.3984, allocations: 11.98 kB / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-06/0.3984, allocations: 0 / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.3985, allocations: 3.984 kB / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.184e-05/0.3985, allocations: 87.28 kB / 413.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3985, allocations: 0 / 413.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001964/0.3987, allocations: 4 kB / 413.2 MB, free: 12.71 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 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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.000851/0.3996, allocations: 0.6868 MB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.3998, allocations: 47.89 kB / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3998, allocations: 0 / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.3998, allocations: 0 / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.4003, allocations: 36 kB / 414 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.4015, allocations: 1.186 MB / 415.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.4018, allocations: 0.6846 MB / 415.8 MB, free: 9.918 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.893e-05/0.4018, allocations: 4 kB / 415.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.4019, allocations: 11.44 kB / 415.9 MB, free: 9.902 MB / 334.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4019, allocations: 0 / 415.9 MB, free: 9.902 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.426, allocations: 1.519 MB / 417.4 MB, free: 8.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.175, allocations: 3.938 kB / 417.4 MB, free: 8.496 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches