Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001559/0.001559, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001799/0.001799, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.487/1.487, allocations: 230.5 MB / 258.1 MB, free: 8.137 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.309, allocations: 53.32 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003005/0.312, allocations: 1.496 MB / 433.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008575/0.3129, allocations: 454.9 kB / 434 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.3129, allocations: 0 / 434 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.313, allocations: 11.92 kB / 434 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.151e-05/0.313, allocations: 3.938 kB / 434 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.3133, allocations: 23.97 kB / 434 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.807e-05/0.3134, allocations: 39.8 kB / 434.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3135, allocations: 7.984 kB / 434.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.012e-05/0.3135, allocations: 8 kB / 434.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.3136, allocations: 27.86 kB / 434.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.3136, allocations: 0 / 434.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.3136, allocations: 4 kB / 434.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.3136, allocations: 4 kB / 434.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.3137, allocations: 19.86 kB / 434.2 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.3138, allocations: 37.42 kB / 434.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3138, allocations: 0 / 434.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3138, allocations: 0 / 434.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3138, allocations: 7.938 kB / 434.2 MB, free: 5.223 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.0005672/0.3144, allocations: 351.4 kB / 434.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3144, allocations: 8.031 kB / 434.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.3144, allocations: 8.891 kB / 434.6 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.3147, allocations: 184.2 kB / 434.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.3147, allocations: 4.375 kB / 434.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.3147, allocations: 384 / 434.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.3152, allocations: 143.6 kB / 434.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3152, allocations: 0 / 434.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3152, allocations: 4 kB / 434.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3152, allocations: 0 / 434.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.3154, allocations: 39.89 kB / 434.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.3156, allocations: 161.7 kB / 435.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.3159, allocations: 78.52 kB / 435.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.316, allocations: 28.91 kB / 435.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.316, allocations: 4 kB / 435.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.316, allocations: 46.5 kB / 435.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.316, allocations: 0 / 435.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003762/0.3164, allocations: 93.58 kB / 435.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.3164, allocations: 55.41 kB / 435.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3166, allocations: 109.8 kB / 435.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3166, allocations: 25.7 kB / 435.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.3166, allocations: 88.14 kB / 435.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.3166, allocations: 7.984 kB / 435.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.3167, allocations: 17.66 kB / 435.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3168, allocations: 314.8 kB / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.3168, allocations: 0 / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.3169, allocations: 31.42 kB / 436 MB, free: 3.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.816e-05/0.3169, allocations: 35.38 kB / 436 MB, free: 3.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3169, allocations: 0 / 436 MB, free: 3.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.67e-05/0.317, allocations: 65.8 kB / 436.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.317, allocations: 11.94 kB / 436.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.317, allocations: 0 / 436.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.317, allocations: 4.125 kB / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.495e-05/0.3171, allocations: 8 kB / 436.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3171, allocations: 0 / 436.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.3171, allocations: 3.984 kB / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3171, allocations: 4 kB / 436.1 MB, free: 3.074 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: 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 0.0001035/0.3172, allocations: 109.8 kB / 436.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.3174, allocations: 81.48 kB / 436.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.3175, allocations: 19.89 kB / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3175, allocations: 0 / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3175, allocations: 3.938 kB / 436.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3175, allocations: 0 / 436.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.3176, allocations: 161.6 kB / 436.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3176, allocations: 0 / 436.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.041e-05/0.3177, allocations: 8 kB / 436.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.3177, allocations: 11.92 kB / 436.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3177, allocations: 0 / 436.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.3177, allocations: 0 / 436.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3177, allocations: 0 / 436.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.3179, allocations: 105 kB / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.318, allocations: 89 kB / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.318, allocations: 0 / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.99e-05/0.318, allocations: 7.984 kB / 436.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-06/0.318, allocations: 0 / 436.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3181, allocations: 0 / 436.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.148e-05/0.3181, allocations: 95.27 kB / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3181, allocations: 0 / 436.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001846/0.3183, allocations: 4 kB / 436.8 MB, free: 2.285 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: 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 0.0001306/0.3184, allocations: 103.2 kB / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.3186, allocations: 35.91 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3186, allocations: 0 / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.3186, allocations: 256 / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.3189, allocations: 27.98 kB / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.3193, allocations: 159.2 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.3197, allocations: 0.6807 MB / 437.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.3197, allocations: 7.438 kB / 437.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of SimCode: time 5.1e-07/0.3197, allocations: 0 / 437.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of Templates: time 0.002452/0.3222, allocations: 0.6086 MB / 438.4 MB, free: 0.5977 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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: 6.8256982350721955]