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.0007679/0.000768, allocations: 96.08 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009816/0.0009817, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000216/0.0002161, allocations: 4 kB / 307.8 MB, free: 0.7383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.0897, allocations: 51.53 MB / 359.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001505/0.09124, allocations: 1.203 MB / 360.6 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006682/0.09193, allocations: 423.1 kB / 361 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.092, allocations: 3.938 kB / 361 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.09202, allocations: 4 kB / 361 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.147e-05/0.09208, allocations: 11.91 kB / 361 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.09229, allocations: 20 kB / 361 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.78e-05/0.09236, allocations: 35.86 kB / 361.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.976e-05/0.09245, allocations: 11.97 kB / 361.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.561e-05/0.0925, allocations: 15.88 kB / 361.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.24e-05/0.09254, allocations: 15.92 kB / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.09256, allocations: 0 / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.09257, allocations: 0 / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.0926, allocations: 8 kB / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.09264, allocations: 45.56 kB / 361.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.564e-05/0.09271, allocations: 27.88 kB / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.09272, allocations: 4 kB / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09273, allocations: 4 kB / 361.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.09274, allocations: 0 / 361.2 MB, free: 11.37 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.0003775/0.09312, allocations: 347.7 kB / 361.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.09317, allocations: 15.97 kB / 361.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.09321, allocations: 34.75 kB / 361.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.09324, allocations: 12.83 kB / 361.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.09339, allocations: 184.3 kB / 361.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-06/0.09341, allocations: 4.359 kB / 361.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.09342, allocations: 4.375 kB / 361.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.09385, allocations: 159.3 kB / 361.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-06/0.09387, allocations: 0 / 361.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.09388, allocations: 0 / 361.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.09389, allocations: 0 / 361.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.09406, allocations: 47.97 kB / 362 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.09418, allocations: 161.6 kB / 362.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.09446, allocations: 98.45 kB / 362.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.09457, allocations: 44.91 kB / 362.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.0946, allocations: 0 / 362.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.09463, allocations: 38.5 kB / 362.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.09463, allocations: 0 / 362.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003436/0.09498, allocations: 109.6 kB / 362.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.09503, allocations: 63.33 kB / 362.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.0951, allocations: 101.9 kB / 362.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.09512, allocations: 25.7 kB / 362.6 MB, free: 9.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.09516, allocations: 88.12 kB / 362.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-06/0.09517, allocations: 4 kB / 362.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.0952, allocations: 9.719 kB / 362.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.09529, allocations: 318.8 kB / 363 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.09531, allocations: 11.94 kB / 363 MB, free: 9.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.3e-05/0.09534, allocations: 27.42 kB / 363.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.52e-05/0.09539, allocations: 31.38 kB / 363.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.0954, allocations: 8 kB / 363.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.742e-05/0.09548, allocations: 61.47 kB / 363.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.0955, allocations: 4 kB / 363.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.09551, allocations: 0 / 363.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.09553, allocations: 4 kB / 363.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.09558, allocations: 11.94 kB / 363.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.09559, allocations: 0 / 363.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.09561, allocations: 4 kB / 363.2 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.09562, allocations: 0 / 363.2 MB, free: 9.117 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.653e-05/0.09569, allocations: 121.9 kB / 363.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.09589, allocations: 85.59 kB / 363.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.09593, allocations: 7.906 kB / 363.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.09594, allocations: 4.328 kB / 363.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.09595, allocations: 4 kB / 363.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.09596, allocations: 3.938 kB / 363.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.746e-05/0.09605, allocations: 165.5 kB / 363.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.09606, allocations: 0 / 363.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.813e-05/0.09614, allocations: 23.86 kB / 363.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.09615, allocations: 0 / 363.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.09616, allocations: 0 / 363.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.09616, allocations: 0 / 363.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.09617, allocations: 0 / 363.6 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.0964, allocations: 113.1 kB / 363.7 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.09644, allocations: 81.05 kB / 363.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.09646, allocations: 8 kB / 363.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.944e-05/0.09651, allocations: 11.98 kB / 363.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-06/0.09652, allocations: 0 / 363.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.09653, allocations: 0 / 363.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.132e-05/0.09658, allocations: 95.25 kB / 363.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.09658, allocations: 0 / 363.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001776/0.09676, allocations: 4 kB / 363.9 MB, free: 8.293 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.0004302/0.0972, allocations: 0.6513 MB / 364.5 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.09735, allocations: 43.91 kB / 364.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.09736, allocations: 3.938 kB / 364.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-07/0.09737, allocations: 0 / 364.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.09768, allocations: 40 kB / 364.6 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008245/0.09851, allocations: 1.165 MB / 365.8 MB, free: 6.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.09872, allocations: 0.6848 MB / 366.5 MB, free: 5.547 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.674e-05/0.09875, allocations: 3.984 kB / 366.5 MB, free: 5.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.09879, allocations: 19.44 kB / 366.5 MB, free: 5.523 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09879, allocations: 0 / 366.5 MB, free: 5.523 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009464/0.1083, allocations: 1.152 MB / 367.7 MB, free: 4.523 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.1085, allocations: 216.3 kB / 367.9 MB, free: 4.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/1.702, allocations: 4 kB / 367.9 MB, free: 4.266 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