Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001362/0.001362, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.621/1.621, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 67.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3994, allocations: 50.53 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002648/0.4021, allocations: 1.487 MB / 410.2 MB, free: 52 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007821/0.4029, allocations: 438.9 kB / 410.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.082e-05/0.403, allocations: 7.938 kB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.856e-05/0.403, allocations: 3.984 kB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.295e-05/0.4031, allocations: 7.875 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.4034, allocations: 31.61 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.657e-05/0.4035, allocations: 39.84 kB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.4036, allocations: 8 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.4037, allocations: 19.86 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.26e-05/0.4037, allocations: 19.92 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.4037, allocations: 4 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.4037, allocations: 4 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.4038, allocations: 0 / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.4038, allocations: 23.86 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.069e-05/0.4039, allocations: 39.88 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4039, allocations: 0 / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4039, allocations: 0 / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.4039, allocations: 0 / 410.9 MB, free: 15.41 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.0004252/0.4044, allocations: 353.1 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4044, allocations: 8.031 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.4044, allocations: 34.75 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.4045, allocations: 8.844 kB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.4047, allocations: 176.3 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4047, allocations: 8.359 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.4047, allocations: 4.375 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.4051, allocations: 139.3 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.4051, allocations: 4 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.4051, allocations: 0 / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4051, allocations: 3.984 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.4053, allocations: 39.91 kB / 411.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.4054, allocations: 157.7 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.4057, allocations: 82.52 kB / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.4058, allocations: 32.91 kB / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4058, allocations: 0 / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.4059, allocations: 34.5 kB / 411.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.467e-06/0.4059, allocations: 0 / 411.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003452/0.4062, allocations: 109.6 kB / 412.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.4063, allocations: 51.41 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.35e-05/0.4064, allocations: 117.8 kB / 412.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.4064, allocations: 25.7 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.4064, allocations: 80.14 kB / 412.3 MB, free: 13.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-06/0.4064, allocations: 7.922 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.4065, allocations: 17.72 kB / 412.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4066, allocations: 318.8 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.4066, allocations: 4 kB / 412.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.4066, allocations: 27.42 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.4067, allocations: 39.38 kB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4067, allocations: 0 / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.815e-05/0.4068, allocations: 65.41 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4068, allocations: 4 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.4068, allocations: 0 / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4068, allocations: 4 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/0.4069, allocations: 4 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4069, allocations: 4 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.4069, allocations: 4.125 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.4069, allocations: 4 kB / 412.8 MB, free: 13.22 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.655e-05/0.407, allocations: 117.7 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.4072, allocations: 85.52 kB / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.4073, allocations: 7.906 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.4073, allocations: 0 / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4073, allocations: 0 / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.4073, allocations: 0 / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.488e-05/0.4074, allocations: 165.7 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4074, allocations: 0 / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.4075, allocations: 15.92 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.4075, allocations: 0 / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.4075, allocations: 4 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4075, allocations: 0 / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4075, allocations: 0 / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.4077, allocations: 109 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.314e-05/0.4078, allocations: 81.05 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.4078, allocations: 0 / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.4078, allocations: 11.92 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-06/0.4078, allocations: 3.938 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.4079, allocations: 4 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.758e-05/0.4079, allocations: 87.27 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4079, allocations: 0 / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000181/0.4081, allocations: 4 kB / 413.5 MB, free: 12.42 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0004429/0.4085, allocations: 0.6397 MB / 414.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.4087, allocations: 31.91 kB / 414.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4087, allocations: 4.25 kB / 414.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.4087, allocations: 7.938 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.409, allocations: 31.97 kB / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009303/0.4099, allocations: 1.17 MB / 415.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.4102, allocations: 0.6807 MB / 416.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.719e-05/0.4102, allocations: 4 kB / 416.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.4103, allocations: 11.44 kB / 416.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4103, allocations: 0 / 416.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.4274, allocations: 1.374 MB / 417.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.638, allocations: 19.69 kB / 417.5 MB, free: 8.41 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches