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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002452/0.0002453, allocations: 4 kB / 308.4 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.102, allocations: 51.53 MB / 359.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001926/0.104, allocations: 1.212 MB / 361.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008417/0.1049, allocations: 423.1 kB / 361.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.105, allocations: 3.938 kB / 361.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.105, allocations: 0 / 361.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.004e-05/0.1051, allocations: 15.86 kB / 361.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.1054, allocations: 27.98 kB / 361.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.454e-05/0.1055, allocations: 31.86 kB / 361.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1056, allocations: 15.97 kB / 361.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.749e-05/0.1057, allocations: 7.938 kB / 361.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/0.1057, allocations: 19.86 kB / 361.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1058, allocations: 4 kB / 361.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.1058, allocations: 0 / 361.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.1058, allocations: 4 kB / 361.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.1059, allocations: 41.56 kB / 361.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.828e-05/0.1059, allocations: 23.97 kB / 361.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1059, allocations: 0 / 361.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1059, allocations: 0 / 361.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.106, allocations: 0 / 361.7 MB, free: 11.48 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.0004696/0.1064, allocations: 351.7 kB / 362.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.1065, allocations: 8.031 kB / 362.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.1065, allocations: 8.844 kB / 362.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.1067, allocations: 180.3 kB / 362.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1068, allocations: 4.375 kB / 362.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.1068, allocations: 4.375 kB / 362.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.1073, allocations: 155.5 kB / 362.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1073, allocations: 0 / 362.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1073, allocations: 4 kB / 362.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1073, allocations: 0 / 362.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1075, allocations: 51.95 kB / 362.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.1077, allocations: 157.6 kB / 362.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.108, allocations: 98.59 kB / 362.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.1081, allocations: 40.77 kB / 362.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1081, allocations: 0 / 362.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.1082, allocations: 46.48 kB / 362.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1082, allocations: 0 / 362.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004078/0.1086, allocations: 113.6 kB / 362.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.1087, allocations: 55.41 kB / 363 MB, free: 10.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.1088, allocations: 109.8 kB / 363.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.1088, allocations: 25.7 kB / 363.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.1088, allocations: 88.14 kB / 363.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.1088, allocations: 0 / 363.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.1089, allocations: 13.66 kB / 363.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.109, allocations: 318.8 kB / 363.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.109, allocations: 4 kB / 363.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.109, allocations: 27.44 kB / 363.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.436e-05/0.1091, allocations: 35.38 kB / 363.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1091, allocations: 3.938 kB / 363.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.935e-05/0.1092, allocations: 61.53 kB / 363.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1092, allocations: 7.938 kB / 363.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1092, allocations: 3.938 kB / 363.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1093, allocations: 4 kB / 363.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.1093, allocations: 4 kB / 363.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.1093, allocations: 7.984 kB / 363.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.666e-05/0.1094, allocations: 4 kB / 363.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.1094, allocations: 3.938 kB / 363.7 MB, free: 9.266 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 9.252e-05/0.1095, allocations: 121.9 kB / 363.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.1097, allocations: 85.59 kB / 363.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.1098, allocations: 11.91 kB / 363.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1098, allocations: 0 / 363.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.1098, allocations: 4 kB / 363.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1098, allocations: 4 kB / 363.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.982e-05/0.1099, allocations: 161.6 kB / 364.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1099, allocations: 0 / 364.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/0.11, allocations: 15.98 kB / 364.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.11, allocations: 3.938 kB / 364.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.11, allocations: 0 / 364.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.11, allocations: 0 / 364.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.11, allocations: 3.938 kB / 364.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.1103, allocations: 113.1 kB / 364.2 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.1104, allocations: 89.03 kB / 364.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.1104, allocations: 0 / 364.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.1105, allocations: 8 kB / 364.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-06/0.1105, allocations: 0 / 364.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.1106, allocations: 4 kB / 364.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.79e-05/0.1106, allocations: 87.27 kB / 364.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1106, allocations: 0 / 364.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001886/0.1108, allocations: 4 kB / 364.4 MB, free: 8.453 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.0001267/0.1109, allocations: 95.25 kB / 364.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1111, allocations: 47.91 kB / 364.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1112, allocations: 0 / 364.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.1112, allocations: 0 / 364.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1115, allocations: 36.52 kB / 364.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.1119, allocations: 170.4 kB / 364.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.1122, allocations: 0.677 MB / 365.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.1122, allocations: 11.44 kB / 365.4 MB, free: 7.352 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1123, allocations: 0 / 365.4 MB, free: 7.352 MB / 302.1 MB Notification: Performance of Templates: time 0.002227/0.1145, allocations: 0.5965 MB / 366 MB, free: 6.762 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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