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.001004/0.001004, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004389/0.004389, allocations: 164.1 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.8308/0.8308, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.493e-06/1.493e-06, allocations: 0 / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/2.09e-05, allocations: 4.812 kB / 325.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001656/0.001677, allocations: 1.493 MB / 327.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001609/0.001838, allocations: 35.91 kB / 327.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.001892, allocations: 4 kB / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.001917, allocations: 3.938 kB / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.728e-05/0.001955, allocations: 7.875 kB / 327.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.002188, allocations: 35.27 kB / 327.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.812e-05/0.002266, allocations: 35.92 kB / 327.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.002358, allocations: 8 kB / 327.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.291e-05/0.002421, allocations: 19.97 kB / 327.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.281e-05/0.002454, allocations: 23.91 kB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.002477, allocations: 4 kB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.002486, allocations: 4 kB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.002503, allocations: 4 kB / 327.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.002532, allocations: 15.92 kB / 327.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.526e-05/0.002617, allocations: 35.94 kB / 327.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002619, allocations: 0 / 327.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.00262, allocations: 4 kB / 327.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.002623, allocations: 0 / 327.6 MB, free: 13.56 MB / 298.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.0003526/0.002976, allocations: 285.5 kB / 327.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.003009, allocations: 16.02 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.003043, allocations: 8.891 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.003193, allocations: 121.6 kB / 328 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.003213, allocations: 8.375 kB / 328 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.003222, allocations: 384 / 328 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.003537, allocations: 151.8 kB / 328.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.003545, allocations: 4.125 kB / 328.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.003553, allocations: 384 / 328.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.003559, allocations: 12.36 kB / 328.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.00368, allocations: 51.88 kB / 328.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.435e-05/0.003764, allocations: 105.3 kB / 328.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.00392, allocations: 74.52 kB / 328.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.228e-05/0.003992, allocations: 44.89 kB / 328.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-06/0.004001, allocations: 0 / 328.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.004019, allocations: 34.5 kB / 328.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.00402, allocations: 3.938 kB / 328.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002559/0.004275, allocations: 109.6 kB / 328.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.004323, allocations: 59.41 kB / 328.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.862e-05/0.004381, allocations: 117.8 kB / 328.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.004391, allocations: 25.7 kB / 328.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.004418, allocations: 80.14 kB / 328.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.004432, allocations: 15.94 kB / 328.9 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.004451, allocations: 9.719 kB / 328.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.004522, allocations: 314.8 kB / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/0.004531, allocations: 4 kB / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.004536, allocations: 0 / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.9e-05/0.004555, allocations: 16.73 kB / 329.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.004556, allocations: 0 / 329.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.858e-05/0.004595, allocations: 49.75 kB / 329.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.004605, allocations: 4 kB / 329.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.004609, allocations: 0 / 329.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.004619, allocations: 0 / 329.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.102e-05/0.00466, allocations: 4 kB / 329.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.004664, allocations: 0 / 329.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-06/0.004673, allocations: 3.938 kB / 329.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.004676, allocations: 0 / 329.3 MB, free: 11.68 MB / 298.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: 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 (2): * Single equations (assignments): 2 * 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 5.116e-05/0.004727, allocations: 113.8 kB / 329.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.004855, allocations: 97.55 kB / 329.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.004872, allocations: 4 kB / 329.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.004873, allocations: 4 kB / 329.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.004877, allocations: 4 kB / 329.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.004881, allocations: 3.938 kB / 329.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.689e-05/0.004928, allocations: 109.3 kB / 329.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.004929, allocations: 0 / 329.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.004971, allocations: 15.98 kB / 329.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.004973, allocations: 0 / 329.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.00498, allocations: 3.984 kB / 329.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.004981, allocations: 0 / 329.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.004982, allocations: 4 kB / 329.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.005132, allocations: 117.2 kB / 329.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-06/0.00514, allocations: 15.97 kB / 329.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.005151, allocations: 0 / 329.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.663e-05/0.005177, allocations: 11.98 kB / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-06/0.00518, allocations: 0 / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.005183, allocations: 4 kB / 329.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.657e-05/0.00521, allocations: 79.28 kB / 329.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00521, allocations: 3.938 kB / 329.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001144/0.005324, allocations: 4 kB / 329.8 MB, free: 11.03 MB / 298.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: 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 6.398e-05/0.005388, allocations: 115.1 kB / 330 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.005492, allocations: 31.97 kB / 330 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.005493, allocations: 0 / 330 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-07/0.005493, allocations: 0 / 330 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.005705, allocations: 39.94 kB / 330 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000226/0.005931, allocations: 147.1 kB / 330.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.41e-05/0.005975, allocations: 75.33 kB / 330.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.005996, allocations: 8.5 kB / 330.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.005996, allocations: 4.062 kB / 330.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of Templates: time 0.001305/0.007301, allocations: 0.67 MB / 330.9 MB, free: 9.891 MB / 298.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/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.156879992224276]