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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9876/0.9876, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.514e-05, allocations: 2.312 kB / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002182/0.002207, allocations: 1.533 MB / 275.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006306/0.002838, allocations: 436.8 kB / 276.1 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.922e-05/0.002897, allocations: 0 / 276.1 MB, free: 2.305 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.002926, allocations: 4.844 kB / 276.1 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.665e-05/0.002993, allocations: 3.984 kB / 276.1 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.00322, allocations: 32.42 kB / 276.1 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.552e-05/0.003306, allocations: 39.89 kB / 276.2 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.003386, allocations: 10.47 kB / 276.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.003453, allocations: 19.92 kB / 276.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.532e-05/0.003488, allocations: 7.984 kB / 276.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.003506, allocations: 4 kB / 276.2 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.003516, allocations: 4 kB / 276.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.003535, allocations: 7.938 kB / 276.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.003558, allocations: 11.98 kB / 276.2 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.407e-05/0.003642, allocations: 33.5 kB / 276.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.003645, allocations: 0 / 276.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003645, allocations: 0 / 276.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.003651, allocations: 3.938 kB / 276.3 MB, free: 2.129 MB / 250.7 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.0003237/0.003975, allocations: 373.2 kB / 276.6 MB, free: 1.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.004007, allocations: 8.562 kB / 276.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.063e-05/0.004027, allocations: 8.891 kB / 276.6 MB, free: 1.715 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.004142, allocations: 117.3 kB / 276.8 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.00415, allocations: 12.38 kB / 276.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-06/0.004156, allocations: 384 / 276.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.004321, allocations: 110.2 kB / 276.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.004326, allocations: 4.125 kB / 276.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.004333, allocations: 384 / 276.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.004336, allocations: 3.938 kB / 276.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.004357, allocations: 7.984 kB / 276.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.634e-05/0.004434, allocations: 101.3 kB / 277 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.759e-05/0.004491, allocations: 39.05 kB / 277 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/0.004516, allocations: 19.7 kB / 277.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.004527, allocations: 0 / 277.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.004548, allocations: 45.36 kB / 277.1 MB, free: 1.168 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.02e-07/0.004549, allocations: 0 / 277.1 MB, free: 1.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001055/0.004654, allocations: 45.69 kB / 277.1 MB, free: 1.117 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.004688, allocations: 55.41 kB / 277.2 MB, free: 1.051 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.981e-05/0.004758, allocations: 173.8 kB / 277.4 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.004767, allocations: 25.7 kB / 277.4 MB, free: 0.832 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.004803, allocations: 126.9 kB / 277.5 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-06/0.004805, allocations: 4 kB / 277.5 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/0.004823, allocations: 19.38 kB / 277.5 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.004934, allocations: 492.1 kB / 278 MB, free: 184 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-06/0.004937, allocations: 0 / 278 MB, free: 184 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-06/0.004941, allocations: 3.938 kB / 278 MB, free: 180 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.004969, allocations: 127.1 kB / 278.1 MB, free: 52 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.872e-05/0.005008, allocations: 123.2 kB / 278.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.183e-05/0.00505, allocations: 33.64 kB / 278.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.005095, allocations: 127.2 kB / 278.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/0.005129, allocations: 123.2 kB / 278.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-05/0.005197, allocations: 250.5 kB / 278.8 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.416e-05/0.005231, allocations: 123.2 kB / 278.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.798e-05/0.005289, allocations: 242.3 kB / 279.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.005342, allocations: 127.1 kB / 279.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.00537, allocations: 123.2 kB / 279.4 MB, free: 14.79 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.839e-05/0.005459, allocations: 279.8 kB / 279.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.00551, allocations: 45.64 kB / 279.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.00554, allocations: 11.98 kB / 279.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.005543, allocations: 0 / 279.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.005545, allocations: 0 / 279.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.00555, allocations: 11.94 kB / 279.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.264e-05/0.005613, allocations: 93.2 kB / 279.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.005616, allocations: 4 kB / 279.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.005684, allocations: 7.984 kB / 279.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.005688, allocations: 4 kB / 279.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.005692, allocations: 0 / 279.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.005694, allocations: 0 / 279.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.005695, allocations: 0 / 279.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.753e-05/0.005743, allocations: 72.44 kB / 279.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.005751, allocations: 7.984 kB / 279.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.005759, allocations: 0 / 279.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.363e-05/0.005773, allocations: 8 kB / 279.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-06/0.005776, allocations: 0 / 279.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/0.00578, allocations: 4 kB / 279.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.865e-05/0.005839, allocations: 135.5 kB / 280.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005839, allocations: 0 / 280.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001275/0.005966, allocations: 4 kB / 280.1 MB, free: 14.05 MB / 266.7 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 7.924e-05/0.006046, allocations: 91.25 kB / 280.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.286e-05/0.006088, allocations: 4 kB / 280.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.006089, allocations: 4 kB / 280.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.00609, allocations: 7.938 kB / 280.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.006281, allocations: 25.02 kB / 280.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/0.00648, allocations: 129.2 kB / 280.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.915e-05/0.006509, allocations: 63.2 kB / 280.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.734e-06/0.006517, allocations: 0 / 280.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.006558, allocations: 70.2 kB / 280.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006559, allocations: 0 / 280.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of Templates: time 0.00177/0.008329, allocations: 446.4 kB / 280.9 MB, free: 13.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8807028960436583]