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.001677/0.001677, allocations: 122.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.00194/0.00194, allocations: 202 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.514/1.514, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.88 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2953, allocations: 50.55 MB / 408.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002783/0.2981, allocations: 1.47 MB / 410.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002126/0.2983, allocations: 35.84 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.2984, allocations: 4 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.2985, allocations: 3.938 kB / 410.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.498e-05/0.2985, allocations: 3.938 kB / 410.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.2988, allocations: 31.95 kB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.2989, allocations: 35.92 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.299, allocations: 7.984 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.232e-05/0.299, allocations: 11.94 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.2991, allocations: 27.91 kB / 410.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.2991, allocations: 0 / 410.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-06/0.2991, allocations: 8 kB / 410.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.2992, allocations: 15.92 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.2992, allocations: 15.92 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.2993, allocations: 35.83 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2994, allocations: 0 / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2994, allocations: 3.938 kB / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2994, allocations: 0 / 410.5 MB, free: 15.78 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.0006264/0.3, allocations: 354.4 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3001, allocations: 8.031 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.3001, allocations: 30.75 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.3001, allocations: 12.89 kB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.3004, allocations: 196.2 kB / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.3005, allocations: 384 / 411.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.3005, allocations: 4.375 kB / 411.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/0.3011, allocations: 159.8 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3011, allocations: 3.938 kB / 411.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.3012, allocations: 4 kB / 411.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.3012, allocations: 4 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.3014, allocations: 47.88 kB / 411.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.3016, allocations: 161.7 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.302, allocations: 86.53 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.3022, allocations: 32.88 kB / 411.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.3022, allocations: 0 / 411.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3022, allocations: 42.56 kB / 411.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3022, allocations: 0 / 411.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005312/0.3028, allocations: 117.7 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.3028, allocations: 59.34 kB / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.729e-05/0.3029, allocations: 101.9 kB / 411.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.303, allocations: 29.69 kB / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.303, allocations: 88.14 kB / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.3031, allocations: 3.953 kB / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.3031, allocations: 21.72 kB / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3033, allocations: 314.8 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.3033, allocations: 8 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.968e-05/0.3034, allocations: 23.44 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.3034, allocations: 43.38 kB / 412.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3034, allocations: 0 / 412.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.998e-05/0.3035, allocations: 65.55 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3036, allocations: 10.59 kB / 412.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3036, allocations: 4 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.31e-05/0.3036, allocations: 0 / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.3037, allocations: 12.11 kB / 412.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3037, allocations: 4 kB / 412.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.3037, allocations: 0 / 412.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.3037, allocations: 4 kB / 412.6 MB, free: 13.5 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 0.000114/0.3039, allocations: 113.8 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.3042, allocations: 93.47 kB / 412.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.3042, allocations: 15.83 kB / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3042, allocations: 0 / 412.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3043, allocations: 4 kB / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3043, allocations: 0 / 412.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.3044, allocations: 161.7 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3044, allocations: 0 / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3045, allocations: 11.98 kB / 413 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3046, allocations: 3.938 kB / 413 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3046, allocations: 8 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.3046, allocations: 8.109 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3046, allocations: 3.938 kB / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.305, allocations: 113 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.305, allocations: 85.09 kB / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3051, allocations: 7.938 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.3051, allocations: 7.984 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-06/0.3051, allocations: 4 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3052, allocations: 0 / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.545e-05/0.3052, allocations: 83.28 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3052, allocations: 0 / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001915/0.3054, allocations: 4 kB / 413.3 MB, free: 12.68 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.0009069/0.3063, allocations: 0.6904 MB / 414 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.3066, allocations: 43.91 kB / 414 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3066, allocations: 0 / 414 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.82e-07/0.3066, allocations: 0 / 414 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.307, allocations: 39.94 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.3084, allocations: 1.186 MB / 415.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.3088, allocations: 0.6846 MB / 415.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.72e-05/0.3088, allocations: 4 kB / 415.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.3088, allocations: 15.55 kB / 415.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3089, allocations: 0 / 415.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.331, allocations: 1.502 MB / 417.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.193, allocations: 3.938 kB / 417.4 MB, free: 8.469 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.1.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