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.001386/0.001386, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.9 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 62.06 kB / 306.9 MB, free: 0.9258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1188, allocations: 50.53 MB / 357.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003384/0.1223, allocations: 1.551 MB / 359 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.1233, allocations: 443 kB / 359.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.526e-05/0.1234, allocations: 0 / 359.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/0.1235, allocations: 3.938 kB / 359.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.891e-05/0.1236, allocations: 4 kB / 359.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.1239, allocations: 27.91 kB / 359.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.124, allocations: 35.92 kB / 359.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1241, allocations: 4 kB / 359.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.1242, allocations: 15.92 kB / 359.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.1243, allocations: 19.91 kB / 359.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1243, allocations: 8 kB / 359.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.1243, allocations: 0 / 359.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.1244, allocations: 8 kB / 359.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.1244, allocations: 23.8 kB / 359.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.388e-05/0.1245, allocations: 15.97 kB / 359.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1245, allocations: 0 / 359.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1245, allocations: 0 / 359.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1245, allocations: 0 / 359.6 MB, free: 12.23 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.0005828/0.1251, allocations: 355.6 kB / 359.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1252, allocations: 12.03 kB / 359.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.1252, allocations: 4.938 kB / 359.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.1255, allocations: 176.3 kB / 360.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1255, allocations: 4.359 kB / 360.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.1255, allocations: 4.375 kB / 360.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005065/0.126, allocations: 147.5 kB / 360.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.126, allocations: 0 / 360.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.126, allocations: 0 / 360.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1261, allocations: 0 / 360.3 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.1262, allocations: 31.97 kB / 360.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.1264, allocations: 169.6 kB / 360.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.1267, allocations: 82.48 kB / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.1268, allocations: 32.88 kB / 360.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1268, allocations: 4 kB / 360.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1269, allocations: 38.44 kB / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1269, allocations: 0 / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003686/0.1273, allocations: 105.7 kB / 360.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1273, allocations: 55.39 kB / 360.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.1274, allocations: 105.8 kB / 360.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1274, allocations: 29.7 kB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.1275, allocations: 88.12 kB / 361 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.824e-06/0.1275, allocations: 0 / 361 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.1275, allocations: 21.72 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1277, allocations: 310.8 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.1277, allocations: 7.984 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.1277, allocations: 31.38 kB / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.174e-05/0.1278, allocations: 39.38 kB / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1278, allocations: 0 / 361.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.897e-05/0.1279, allocations: 53.62 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1279, allocations: 11.94 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1279, allocations: 0 / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.128, allocations: 0 / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.472e-05/0.128, allocations: 8 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.128, allocations: 4.438 kB / 361.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.1281, allocations: 0 / 361.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.1281, allocations: 7.984 kB / 361.5 MB, free: 10.07 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.394e-05/0.1282, allocations: 121.7 kB / 361.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.1284, allocations: 77.5 kB / 361.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.1284, allocations: 11.91 kB / 361.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1284, allocations: 0 / 361.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1284, allocations: 4 kB / 361.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1284, allocations: 0 / 361.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.1285, allocations: 157.7 kB / 361.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1286, allocations: 0 / 361.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-05/0.1286, allocations: 11.98 kB / 361.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1287, allocations: 7.938 kB / 361.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1287, allocations: 0 / 361.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1287, allocations: 3.984 kB / 361.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1287, allocations: 0 / 361.9 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.1289, allocations: 105 kB / 362 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.129, allocations: 92.94 kB / 362.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.129, allocations: 0 / 362.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.844e-05/0.129, allocations: 8 kB / 362.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-06/0.1291, allocations: 3.938 kB / 362.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1291, allocations: 3.938 kB / 362.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.155e-05/0.1291, allocations: 91.27 kB / 362.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1291, allocations: 4 kB / 362.2 MB, free: 9.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.1293, allocations: 4 kB / 362.2 MB, free: 9.27 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.000109/0.1295, allocations: 95.25 kB / 362.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.1296, allocations: 31.91 kB / 362.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1296, allocations: 0 / 362.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.1296, allocations: 4 kB / 362.3 MB, free: 9.133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.13, allocations: 36.22 kB / 362.3 MB, free: 9.098 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.1303, allocations: 152.2 kB / 362.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1306, allocations: 0.6809 MB / 363.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.1307, allocations: 7.438 kB / 363.2 MB, free: 8.203 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1307, allocations: 3.938 kB / 363.2 MB, free: 8.199 MB / 302.1 MB Notification: Performance of Templates: time 0.002069/0.1327, allocations: 0.5946 MB / 363.8 MB, free: 7.609 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