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.001031/0.001031, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.3 MB, free: 9.023 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 68.62 kB / 306.4 MB, free: 0.6953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07999/0.08108, allocations: 50.52 MB / 356.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002329/0.08345, allocations: 1.546 MB / 358.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006144/0.08408, allocations: 446.9 kB / 358.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.08414, allocations: 0 / 358.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.08418, allocations: 3.938 kB / 358.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.08424, allocations: 3.984 kB / 358.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.08444, allocations: 23.88 kB / 358.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.963e-05/0.08452, allocations: 39.91 kB / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.724e-05/0.08461, allocations: 11.98 kB / 359 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.43e-05/0.08466, allocations: 11.94 kB / 359 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.467e-05/0.0847, allocations: 15.92 kB / 359 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.08472, allocations: 4 kB / 359 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.08474, allocations: 0 / 359 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.08476, allocations: 3.984 kB / 359 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.0848, allocations: 19.81 kB / 359 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.477e-05/0.08488, allocations: 35.88 kB / 359 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.08489, allocations: 0 / 359 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.08489, allocations: 0 / 359 MB, free: 11.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.0849, allocations: 0 / 359 MB, free: 11.99 MB / 302.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.0003995/0.08531, allocations: 365.9 kB / 359.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.08535, allocations: 8.031 kB / 359.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.82e-05/0.08538, allocations: 34.75 kB / 359.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.994e-05/0.08541, allocations: 0.9375 kB / 359.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.08554, allocations: 180.3 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.08555, allocations: 4.375 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.08557, allocations: 384 / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.08595, allocations: 147.3 kB / 359.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.08596, allocations: 3.984 kB / 359.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.08598, allocations: 0 / 359.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.08598, allocations: 0 / 359.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.08613, allocations: 35.97 kB / 359.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.08625, allocations: 161.6 kB / 360 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.08649, allocations: 82.5 kB / 360 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.33e-05/0.0866, allocations: 36.91 kB / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.08662, allocations: 7.938 kB / 360.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.08665, allocations: 42.5 kB / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.08666, allocations: 3.938 kB / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003075/0.08697, allocations: 93.55 kB / 360.2 MB, free: 10.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.08701, allocations: 55.41 kB / 360.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.08708, allocations: 109.8 kB / 360.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.0871, allocations: 25.7 kB / 360.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.08713, allocations: 92.11 kB / 360.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-06/0.08714, allocations: 0 / 360.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.08717, allocations: 17.72 kB / 360.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.08726, allocations: 314.8 kB / 360.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.08728, allocations: 3.938 kB / 360.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.0873, allocations: 35.42 kB / 360.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/0.08734, allocations: 35.38 kB / 360.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.08735, allocations: 3.938 kB / 360.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.682e-05/0.08742, allocations: 57.69 kB / 361 MB, free: 9.816 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.08744, allocations: 8 kB / 361 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.08745, allocations: 0 / 361 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.08747, allocations: 4 kB / 361 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.465e-05/0.08751, allocations: 4 kB / 361 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.08752, allocations: 4 kB / 361 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.08755, allocations: 0 / 361 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.08756, allocations: 4 kB / 361 MB, free: 9.793 MB / 302.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 6.343e-05/0.08762, allocations: 121.7 kB / 361.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.0878, allocations: 85.5 kB / 361.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.464e-05/0.08783, allocations: 3.906 kB / 361.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.08784, allocations: 0 / 361.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.08785, allocations: 4 kB / 361.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.08786, allocations: 0 / 361.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.002e-05/0.08794, allocations: 165.7 kB / 361.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.08795, allocations: 0 / 361.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.08802, allocations: 15.92 kB / 361.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.08803, allocations: 0 / 361.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.08804, allocations: 4 kB / 361.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.08804, allocations: 0 / 361.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.08805, allocations: 4 kB / 361.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.08825, allocations: 97.36 kB / 361.5 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/0.08829, allocations: 84.95 kB / 361.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.08831, allocations: 7.938 kB / 361.6 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.08836, allocations: 12.03 kB / 361.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-06/0.08837, allocations: 3.984 kB / 361.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.08837, allocations: 4 kB / 361.6 MB, free: 9.082 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.795e-05/0.08842, allocations: 83.27 kB / 361.7 MB, free: 9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08842, allocations: 0 / 361.7 MB, free: 9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001741/0.0886, allocations: 8 kB / 361.7 MB, free: 8.992 MB / 302.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.0003939/0.089, allocations: 0.6432 MB / 362.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.08913, allocations: 31.97 kB / 362.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.08914, allocations: 0 / 362.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.08915, allocations: 0 / 362.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.08945, allocations: 32.16 kB / 362.4 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007998/0.09027, allocations: 1.171 MB / 363.5 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.09047, allocations: 0.6887 MB / 364.2 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.433e-05/0.09049, allocations: 0 / 364.2 MB, free: 6.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.09053, allocations: 11.44 kB / 364.2 MB, free: 6.262 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09053, allocations: 0 / 364.2 MB, free: 6.262 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6653/0.7558, allocations: 1.215 MB / 365.5 MB, free: 5.172 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.756, allocations: 210.8 kB / 365.7 MB, free: 4.918 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.775, allocations: 4.062 kB / 365.7 MB, free: 4.914 MB / 302.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