Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001611/0.001611, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001816/0.001816, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.572/1.572, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 61.22 kB / 307.9 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1065, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.00292/0.1095, allocations: 1.484 MB / 359.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008201/0.1103, allocations: 448.5 kB / 360.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.1104, allocations: 0 / 360.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.1105, allocations: 7.938 kB / 360.4 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/0.1105, allocations: 3.938 kB / 360.4 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.1107, allocations: 27.97 kB / 360.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.343e-05/0.1108, allocations: 43.8 kB / 360.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.111, allocations: 11.98 kB / 360.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.651e-05/0.111, allocations: 11.94 kB / 360.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.292e-05/0.1111, allocations: 15.92 kB / 360.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1111, allocations: 4 kB / 360.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.1111, allocations: 4 kB / 360.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.1111, allocations: 7.984 kB / 360.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.1112, allocations: 23.86 kB / 360.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.687e-05/0.1113, allocations: 27.89 kB / 360.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1113, allocations: 4 kB / 360.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1113, allocations: 0 / 360.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1113, allocations: 0 / 360.5 MB, free: 11.82 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.0004898/0.1118, allocations: 351.6 kB / 360.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1118, allocations: 11.97 kB / 360.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.1119, allocations: 4.938 kB / 360.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.1121, allocations: 184.2 kB / 361.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1121, allocations: 384 / 361.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.1121, allocations: 4.375 kB / 361.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.1126, allocations: 139.6 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1126, allocations: 7.984 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1126, allocations: 0 / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.1126, allocations: 4 kB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.1128, allocations: 35.95 kB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.113, allocations: 165.5 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.1133, allocations: 82.55 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1134, allocations: 32.88 kB / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1135, allocations: 4 kB / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1135, allocations: 34.5 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1135, allocations: 0 / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003664/0.1139, allocations: 105.5 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.1139, allocations: 51.41 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/0.114, allocations: 105.8 kB / 361.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1141, allocations: 25.7 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.1141, allocations: 88.14 kB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.1141, allocations: 3.984 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.1142, allocations: 17.72 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1143, allocations: 318.8 kB / 362.3 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.1143, allocations: 4 kB / 362.3 MB, free: 9.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.1144, allocations: 31.42 kB / 362.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.17e-05/0.1144, allocations: 35.38 kB / 362.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1144, allocations: 0 / 362.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.439e-05/0.1145, allocations: 53.62 kB / 362.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1146, allocations: 15.88 kB / 362.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1146, allocations: 0 / 362.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1146, allocations: 0 / 362.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.1146, allocations: 12 kB / 362.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1147, allocations: 0 / 362.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.1147, allocations: 128 / 362.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1147, allocations: 8 kB / 362.4 MB, free: 9.672 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 8.225e-05/0.1148, allocations: 113.8 kB / 362.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.115, allocations: 81.44 kB / 362.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.115, allocations: 11.89 kB / 362.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1151, allocations: 0 / 362.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1151, allocations: 0 / 362.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1151, allocations: 0 / 362.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.1152, allocations: 169.6 kB / 362.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1152, allocations: 336 / 362.8 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.1153, allocations: 11.98 kB / 362.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1153, allocations: 7.938 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1153, allocations: 0 / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1153, allocations: 0 / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1153, allocations: 0 / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.1156, allocations: 101.1 kB / 362.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.1157, allocations: 88.95 kB / 363 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.1157, allocations: 4 kB / 363 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.365e-05/0.1157, allocations: 7.984 kB / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-06/0.1157, allocations: 0 / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1158, allocations: 0 / 363 MB, free: 8.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.419e-05/0.1158, allocations: 91.2 kB / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1158, allocations: 0 / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001927/0.116, allocations: 8 kB / 363.1 MB, free: 8.879 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.0001177/0.1161, allocations: 99.25 kB / 363.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1163, allocations: 43.84 kB / 363.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1163, allocations: 0 / 363.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.1163, allocations: 0 / 363.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.1167, allocations: 30.98 kB / 363.3 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.1171, allocations: 162.8 kB / 363.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1174, allocations: 0.6768 MB / 364.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.1174, allocations: 11.44 kB / 364.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1175, allocations: 0 / 364.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of Templates: time 0.002113/0.1196, allocations: 0.5983 MB / 364.7 MB, free: 7.199 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches