Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 208.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2332, allocations: 53.37 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002614/0.2358, allocations: 1.483 MB / 433.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001876/0.236, allocations: 39.84 kB / 433.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.236, allocations: 0 / 433.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.2361, allocations: 3.938 kB / 433.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.404e-05/0.2361, allocations: 0 / 433.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002356/0.2363, allocations: 31.89 kB / 433.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.081e-05/0.2364, allocations: 39.86 kB / 433.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2365, allocations: 8 kB / 433.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.2366, allocations: 11.98 kB / 433.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.2366, allocations: 23.92 kB / 434 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.2366, allocations: 3.938 kB / 434 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.2367, allocations: 8 kB / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.2367, allocations: 15.97 kB / 434 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.2367, allocations: 11.94 kB / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.576e-05/0.2368, allocations: 34.84 kB / 434 MB, free: 5.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2368, allocations: 0 / 434 MB, free: 5.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2368, allocations: 0 / 434 MB, free: 5.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.2368, allocations: 3.938 kB / 434 MB, free: 5.02 MB / 334.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.0005191/0.2373, allocations: 285.9 kB / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.2374, allocations: 8.031 kB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.2374, allocations: 8.891 kB / 434.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.2376, allocations: 130.5 kB / 434.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.2376, allocations: 4.375 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.2376, allocations: 8.312 kB / 434.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.2382, allocations: 151.8 kB / 434.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2382, allocations: 192 / 434.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.2382, allocations: 3.938 kB / 434.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2383, allocations: 0 / 434.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.2385, allocations: 51.88 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.2387, allocations: 117.2 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.239, allocations: 74.52 kB / 434.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.2392, allocations: 40.89 kB / 434.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.2392, allocations: 0 / 434.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.2392, allocations: 34.56 kB / 434.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.2392, allocations: 0 / 434.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005123/0.2397, allocations: 113.5 kB / 435.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.2398, allocations: 59.41 kB / 435.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.2399, allocations: 105.8 kB / 435.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.2399, allocations: 25.7 kB / 435.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.2399, allocations: 92.12 kB / 435.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.24, allocations: 11.89 kB / 435.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.24, allocations: 13.72 kB / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.2401, allocations: 314.8 kB / 435.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.2401, allocations: 7.984 kB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.489e-05/0.2402, allocations: 31.44 kB / 435.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/0.2402, allocations: 35.38 kB / 435.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2402, allocations: 4 kB / 435.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.84e-05/0.2403, allocations: 65.56 kB / 435.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2403, allocations: 4 kB / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2403, allocations: 192 / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.2404, allocations: 7.938 kB / 435.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.271e-05/0.2404, allocations: 4 kB / 435.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.2404, allocations: 7.984 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.2404, allocations: 8.109 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.2405, allocations: 4 kB / 435.8 MB, free: 3.023 MB / 334.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: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.649e-05/0.2405, allocations: 118 kB / 436 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/0.2409, allocations: 89.53 kB / 436 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.2409, allocations: 8 kB / 436.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.2409, allocations: 7.922 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2409, allocations: 3.938 kB / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2409, allocations: 0 / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.312e-05/0.241, allocations: 105.3 kB / 436.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.241, allocations: 0 / 436.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.2411, allocations: 11.98 kB / 436.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2411, allocations: 0 / 436.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.2411, allocations: 8 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2411, allocations: 4 kB / 436.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2411, allocations: 3.938 kB / 436.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.2414, allocations: 113 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-06/0.2414, allocations: 7.938 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2414, allocations: 0 / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.2415, allocations: 11.98 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-06/0.2415, allocations: 7.875 kB / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.2415, allocations: 0 / 436.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.582e-05/0.2416, allocations: 87.27 kB / 436.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2416, allocations: 4 kB / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001928/0.2418, allocations: 8 kB / 436.4 MB, free: 2.363 MB / 334.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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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 8.579e-05/0.2419, allocations: 91.25 kB / 436.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.2421, allocations: 47.89 kB / 436.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2421, allocations: 0 / 436.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.2421, allocations: 4 kB / 436.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.2424, allocations: 32 kB / 436.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.2428, allocations: 133.6 kB / 436.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.477e-05/0.2429, allocations: 67.59 kB / 436.8 MB, free: 1.941 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.077e-05/0.2429, allocations: 3.984 kB / 436.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.2429, allocations: 11.44 kB / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2429, allocations: 0 / 436.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of Templates: time 0.002821/0.2457, allocations: 0.6195 MB / 437.4 MB, free: 1.32 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.295615893002832]