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.0009764/0.0009764, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005143/0.00612, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001001/0.001001, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004905/0.005907, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 1.028/1.028, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1075/1.135, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.342e-06/1.342e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.316e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002086/0.002109, allocations: 1.58 MB / 246.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006369/0.002746, allocations: 447.5 kB / 247 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.002806, allocations: 7.938 kB / 247 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.002831, allocations: 3.984 kB / 247.1 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.861e-05/0.00287, allocations: 7.875 kB / 247.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.003018, allocations: 31.91 kB / 247.1 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.272e-05/0.003111, allocations: 39.86 kB / 247.1 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.125e-05/0.003192, allocations: 4 kB / 247.1 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.276e-05/0.003285, allocations: 35.89 kB / 247.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.003327, allocations: 11.98 kB / 247.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.003351, allocations: 4 kB / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.003361, allocations: 0 / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.003382, allocations: 11.94 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.003411, allocations: 4 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.285e-05/0.003504, allocations: 23.86 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.003518, allocations: 0 / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003519, allocations: 4 kB / 247.2 MB, free: 11.42 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.003536, allocations: 0 / 247.2 MB, free: 11.42 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.0003945/0.00393, allocations: 248.6 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.003968, allocations: 12.61 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.004, allocations: 8.938 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.004151, allocations: 129.6 kB / 247.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.00416, allocations: 4.375 kB / 247.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.004168, allocations: 384 / 247.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.00437, allocations: 104.6 kB / 247.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004377, allocations: 192 / 247.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.004384, allocations: 384 / 247.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.004392, allocations: 3.938 kB / 247.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.577e-05/0.004417, allocations: 4 kB / 247.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.235e-05/0.00449, allocations: 72.95 kB / 247.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.316e-05/0.004553, allocations: 26.58 kB / 247.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.00458, allocations: 16.84 kB / 247.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.004599, allocations: 0 / 247.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.004623, allocations: 34.56 kB / 247.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.004624, allocations: 0 / 247.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001128/0.004737, allocations: 57.61 kB / 247.9 MB, free: 10.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.004771, allocations: 51.41 kB / 248 MB, free: 10.55 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.106e-05/0.004822, allocations: 110.7 kB / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.004831, allocations: 25.7 kB / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.998e-05/0.004851, allocations: 84.14 kB / 248.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-06/0.004853, allocations: 3.938 kB / 248.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.004868, allocations: 9.719 kB / 248.2 MB, free: 10.29 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.004935, allocations: 326.8 kB / 248.5 MB, free: 9.961 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.755e-06/0.004938, allocations: 0 / 248.5 MB, free: 9.961 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-06/0.004941, allocations: 4 kB / 248.5 MB, free: 9.957 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.876e-05/0.00496, allocations: 75.28 kB / 248.6 MB, free: 9.883 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.004975, allocations: 75.28 kB / 248.7 MB, free: 9.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.289e-05/0.005008, allocations: 33.64 kB / 248.7 MB, free: 9.77 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.005034, allocations: 83.28 kB / 248.8 MB, free: 9.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.005051, allocations: 75.28 kB / 248.9 MB, free: 9.613 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.748e-05/0.005088, allocations: 158.6 kB / 249 MB, free: 9.457 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.076e-05/0.005109, allocations: 83.22 kB / 249.1 MB, free: 9.375 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.869e-05/0.005137, allocations: 154.5 kB / 249.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.005178, allocations: 87.16 kB / 249.3 MB, free: 9.137 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.005192, allocations: 79.28 kB / 249.4 MB, free: 9.059 MB / 250.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 6.117e-05/0.005254, allocations: 181.1 kB / 249.6 MB, free: 8.871 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.005364, allocations: 45.69 kB / 249.6 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.005385, allocations: 4 kB / 249.6 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005386, allocations: 0 / 249.6 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.00539, allocations: 4 kB / 249.7 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.005393, allocations: 3.938 kB / 249.7 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.556e-05/0.005439, allocations: 73.81 kB / 249.7 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.005441, allocations: 0 / 249.7 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.005511, allocations: 8 kB / 249.7 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-06/0.005517, allocations: 11.94 kB / 249.7 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.005519, allocations: 0 / 249.7 MB, free: 8.703 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.00553, allocations: 8 kB / 249.8 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.005531, allocations: 0 / 249.8 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005532, allocations: 0 / 249.8 MB, free: 8.695 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.093e-05/0.005573, allocations: 53.08 kB / 249.8 MB, free: 8.625 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-06/0.00558, allocations: 0 / 249.8 MB, free: 8.625 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.708e-05/0.005597, allocations: 7.984 kB / 249.8 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-06/0.0056, allocations: 0 / 249.8 MB, free: 8.617 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.005604, allocations: 0 / 249.8 MB, free: 8.617 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.157e-05/0.005615, allocations: 8.859 kB / 249.8 MB, free: 8.605 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005615, allocations: 4 kB / 249.8 MB, free: 8.602 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000106/0.005721, allocations: 7.938 kB / 249.8 MB, free: 8.594 MB / 250.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.074e-05/0.005792, allocations: 88.34 kB / 249.9 MB, free: 8.496 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.067e-05/0.005833, allocations: 4 kB / 249.9 MB, free: 8.492 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.005836, allocations: 0 / 249.9 MB, free: 8.492 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.1e-07/0.005836, allocations: 0 / 249.9 MB, free: 8.492 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.005973, allocations: 20.36 kB / 249.9 MB, free: 8.473 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.006289, allocations: 131.3 kB / 250.1 MB, free: 8.32 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.763e-05/0.006316, allocations: 67.28 kB / 250.1 MB, free: 8.234 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.746e-06/0.006325, allocations: 0 / 250.1 MB, free: 8.234 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.00636, allocations: 51.38 kB / 250.2 MB, free: 8.184 MB / 250.7 MB Notification: Performance of SimCode: time 7.92e-07/0.00636, allocations: 0 / 250.2 MB, free: 8.184 MB / 250.7 MB Notification: Performance of Templates: time 0.001766/0.008126, allocations: 435.6 kB / 250.6 MB, free: 7.762 MB / 250.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 -ignoreHideResult -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.5784245366230607]