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.001389/0.001388, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001717/0.001717, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 64.25 kB / 307.6 MB, free: 0.6641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1055, allocations: 50.53 MB / 358.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002828/0.1084, allocations: 1.484 MB / 359.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000763/0.1092, allocations: 444.6 kB / 360.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.466e-05/0.1092, allocations: 4 kB / 360.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.1093, allocations: 7.938 kB / 360.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.1094, allocations: 3.938 kB / 360.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.1096, allocations: 27.92 kB / 360.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.313e-05/0.1097, allocations: 35.84 kB / 360.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.1098, allocations: 12 kB / 360.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.1098, allocations: 19.86 kB / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.297e-05/0.1099, allocations: 15.92 kB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1099, allocations: 4 kB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.123e-05/0.1099, allocations: 4 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.1099, allocations: 8 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.11, allocations: 19.86 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.472e-05/0.1101, allocations: 31.89 kB / 360.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1101, allocations: 3.984 kB / 360.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1101, allocations: 3.938 kB / 360.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1101, allocations: 0 / 360.3 MB, free: 12.01 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.0004716/0.1106, allocations: 355.6 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1106, allocations: 8.031 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.1107, allocations: 0.9375 kB / 360.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.1109, allocations: 180.3 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1109, allocations: 4.375 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1109, allocations: 4.375 kB / 360.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/0.1114, allocations: 139.5 kB / 360.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1114, allocations: 0 / 360.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1114, allocations: 0 / 360.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1114, allocations: 0 / 360.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.1116, allocations: 39.95 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.1117, allocations: 161.6 kB / 361.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.112, allocations: 82.52 kB / 361.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.1121, allocations: 32.86 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1122, allocations: 4 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.1122, allocations: 38.5 kB / 361.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1122, allocations: 0 / 361.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003582/0.1126, allocations: 105.5 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1126, allocations: 55.41 kB / 361.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.892e-05/0.1127, allocations: 106.1 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.1127, allocations: 25.7 kB / 361.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.1128, allocations: 84.12 kB / 361.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.1128, allocations: 8 kB / 361.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.1128, allocations: 9.719 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1129, allocations: 330.8 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.113, allocations: 0 / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-05/0.113, allocations: 23.44 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.41e-05/0.113, allocations: 47.3 kB / 362.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1131, allocations: 0 / 362.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.372e-05/0.1131, allocations: 53.64 kB / 362.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1132, allocations: 11.94 kB / 362.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1132, allocations: 0 / 362.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1132, allocations: 3.984 kB / 362.1 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.317e-05/0.1133, allocations: 8 kB / 362.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1133, allocations: 4.062 kB / 362.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.1133, allocations: 4.125 kB / 362.2 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1133, allocations: 4 kB / 362.2 MB, free: 9.863 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.802e-05/0.1134, allocations: 113.7 kB / 362.3 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.1136, allocations: 81.5 kB / 362.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.1136, allocations: 11.91 kB / 362.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1136, allocations: 3.938 kB / 362.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1137, allocations: 0 / 362.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1137, allocations: 3.984 kB / 362.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.883e-05/0.1138, allocations: 157.7 kB / 362.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1138, allocations: 0 / 362.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.038e-05/0.1139, allocations: 15.98 kB / 362.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1139, allocations: 3.938 kB / 362.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.1139, allocations: 4 kB / 362.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1139, allocations: 0 / 362.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1139, allocations: 0 / 362.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.1141, allocations: 109 kB / 362.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.1142, allocations: 84.95 kB / 362.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1142, allocations: 4 kB / 362.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.118e-05/0.1143, allocations: 7.984 kB / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-06/0.1143, allocations: 0 / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.1143, allocations: 0 / 362.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.034e-05/0.1143, allocations: 83.28 kB / 362.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1143, allocations: 0 / 362.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002038/0.1145, allocations: 4 kB / 362.8 MB, free: 9.078 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.0001023/0.1146, allocations: 103.2 kB / 362.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1148, allocations: 39.92 kB / 363 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1148, allocations: 0 / 363 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/0.1148, allocations: 4 kB / 363 MB, free: 8.926 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.1152, allocations: 35.28 kB / 363 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.1155, allocations: 155.7 kB / 363.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.1157, allocations: 0.6846 MB / 363.8 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.1158, allocations: 11.44 kB / 363.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1158, allocations: 0 / 363.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of Templates: time 0.001895/0.1177, allocations: 0.6054 MB / 364.5 MB, free: 7.383 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