Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 91.62 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009661/0.0009668, allocations: 181 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.3 MB / 241.6 MB, free: 96 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 15.92 kB / 301.4 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1269, allocations: 50.4 MB / 351.8 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001626/0.1286, allocations: 1.198 MB / 353 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006214/0.1292, allocations: 403.8 kB / 353.4 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.1293, allocations: 0 / 353.4 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.1293, allocations: 3.938 kB / 353.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.1294, allocations: 4 kB / 353.4 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1296, allocations: 23.91 kB / 353.5 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.644e-05/0.1297, allocations: 35.92 kB / 353.5 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1298, allocations: 8 kB / 353.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.1299, allocations: 19.86 kB / 353.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.864e-05/0.1299, allocations: 11.94 kB / 353.5 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1299, allocations: 4 kB / 353.5 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.13, allocations: 0 / 353.5 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.13, allocations: 11.91 kB / 353.5 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.13, allocations: 37.64 kB / 353.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.746e-05/0.1301, allocations: 31.89 kB / 353.6 MB, free: 1.867 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1301, allocations: 0 / 353.6 MB, free: 1.867 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1302, allocations: 4 kB / 353.6 MB, free: 1.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1302, allocations: 0 / 353.6 MB, free: 1.863 MB / 286.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.0004612/0.1306, allocations: 351.7 kB / 354 MB, free: 1.473 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1307, allocations: 11.97 kB / 354 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.1307, allocations: 8.844 kB / 354 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.1309, allocations: 176.3 kB / 354.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1309, allocations: 8.375 kB / 354.2 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.1309, allocations: 8.375 kB / 354.2 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.1314, allocations: 159.5 kB / 354.3 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1314, allocations: 0 / 354.3 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1314, allocations: 0 / 354.3 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1314, allocations: 4 kB / 354.3 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.1316, allocations: 55.89 kB / 354.4 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.1317, allocations: 157.6 kB / 354.5 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.132, allocations: 98.52 kB / 354.6 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.1322, allocations: 40.89 kB / 354.7 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1322, allocations: 0 / 354.7 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.1322, allocations: 34.5 kB / 354.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1322, allocations: 0 / 354.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003641/0.1326, allocations: 121.6 kB / 354.8 MB, free: 492 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.1326, allocations: 55.41 kB / 354.9 MB, free: 424 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.575e-05/0.1327, allocations: 109.8 kB / 355 MB, free: 304 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.1327, allocations: 25.7 kB / 355 MB, free: 272 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.096e-05/0.1328, allocations: 84.14 kB / 355.1 MB, free: 184 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.936e-06/0.1328, allocations: 4 kB / 355.1 MB, free: 180 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.1328, allocations: 9.719 kB / 355.1 MB, free: 164 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.133, allocations: 310.8 kB / 355.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.133, allocations: 11.98 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.133, allocations: 27.44 kB / 355.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.1331, allocations: 35.38 kB / 355.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1331, allocations: 0 / 355.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.436e-05/0.1331, allocations: 65.56 kB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1332, allocations: 7.938 kB / 355.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1332, allocations: 0 / 355.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1332, allocations: 7.938 kB / 355.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/0.1332, allocations: 4 kB / 355.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1333, allocations: 4 kB / 355.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.1333, allocations: 3.984 kB / 355.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.1333, allocations: 0 / 355.6 MB, free: 15.65 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.783e-05/0.1334, allocations: 117.8 kB / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.1336, allocations: 93.56 kB / 355.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.1336, allocations: 11.91 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1336, allocations: 0 / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1336, allocations: 0 / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1336, allocations: 0 / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.463e-05/0.1337, allocations: 157.7 kB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1337, allocations: 4 kB / 355.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.1338, allocations: 15.98 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1338, allocations: 3.938 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.1338, allocations: 0 / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1338, allocations: 0 / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1338, allocations: 0 / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1341, allocations: 124.9 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.1341, allocations: 89.03 kB / 356.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1341, allocations: 0 / 356.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.1342, allocations: 4 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-06/0.1342, allocations: 0 / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1342, allocations: 8 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.073e-05/0.1343, allocations: 87.27 kB / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1343, allocations: 0 / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001832/0.1345, allocations: 4 kB / 356.3 MB, free: 14.84 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 9.438e-05/0.1346, allocations: 99.56 kB / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1347, allocations: 44.09 kB / 356.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1347, allocations: 0 / 356.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.1347, allocations: 4 kB / 356.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.1351, allocations: 41.7 kB / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.1353, allocations: 140.6 kB / 356.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.1356, allocations: 0.6848 MB / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.379e-05/0.1356, allocations: 0 / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.1356, allocations: 7.438 kB / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1356, allocations: 4 kB / 357.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of Templates: time 0.002333/0.138, allocations: 381.1 kB / 357.7 MB, free: 13.39 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches