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.001857/0.001857, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002248/0.002248, allocations: 213.9 kB / 23.73 MB, free: 4.164 MB / 14.72 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.526/1.526, allocations: 230.5 MB / 257.4 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002118/0.002118, allocations: 59.91 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3072, allocations: 53.41 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003289/0.3105, allocations: 1.489 MB / 433.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.3115, allocations: 423 kB / 433.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.732e-05/0.3116, allocations: 0 / 433.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.3117, allocations: 3.938 kB / 433.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.3117, allocations: 11.92 kB / 433.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.312, allocations: 19.92 kB / 433.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3121, allocations: 35.86 kB / 433.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3123, allocations: 15.97 kB / 433.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.438e-05/0.3123, allocations: 11.94 kB / 433.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.3124, allocations: 15.92 kB / 433.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3124, allocations: 8 kB / 433.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.3125, allocations: 4 kB / 433.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.3125, allocations: 7.984 kB / 433.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.3125, allocations: 15.88 kB / 433.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.3127, allocations: 43.41 kB / 433.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3127, allocations: 0 / 433.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3127, allocations: 4 kB / 433.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.3127, allocations: 0 / 433.7 MB, free: 4.402 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.0005773/0.3132, allocations: 272.8 kB / 434 MB, free: 4.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3133, allocations: 15.98 kB / 434 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.3133, allocations: 8.891 kB / 434 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.3136, allocations: 122.5 kB / 434.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3137, allocations: 384 / 434.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.3137, allocations: 4.375 kB / 434.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.3142, allocations: 139.5 kB / 434.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3142, allocations: 4 kB / 434.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3142, allocations: 4 kB / 434.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3142, allocations: 0 / 434.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.3144, allocations: 35.95 kB / 434.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.3146, allocations: 105.3 kB / 434.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.3149, allocations: 78.55 kB / 434.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.315, allocations: 28.89 kB / 434.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.315, allocations: 7.922 kB / 434.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.315, allocations: 34.56 kB / 434.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.315, allocations: 0 / 434.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000378/0.3154, allocations: 97.58 kB / 434.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/0.3155, allocations: 55.41 kB / 434.7 MB, free: 3.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3156, allocations: 105.8 kB / 434.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3156, allocations: 29.7 kB / 434.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.3157, allocations: 84.14 kB / 434.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.3157, allocations: 0 / 434.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.3157, allocations: 21.7 kB / 435 MB, free: 3.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3159, allocations: 314.8 kB / 435.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.3159, allocations: 7.938 kB / 435.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.3159, allocations: 27.61 kB / 435.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/0.316, allocations: 39.38 kB / 435.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.316, allocations: 0 / 435.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001019/0.3161, allocations: 57.58 kB / 435.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3161, allocations: 4 kB / 435.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.3161, allocations: 3.938 kB / 435.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3161, allocations: 8.031 kB / 435.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.3162, allocations: 7.984 kB / 435.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3162, allocations: 4 kB / 435.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.3162, allocations: 8 kB / 435.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3162, allocations: 8.125 kB / 435.4 MB, free: 2.496 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.0001022/0.3163, allocations: 109.8 kB / 435.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.3166, allocations: 81.55 kB / 435.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.3166, allocations: 11.94 kB / 435.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3166, allocations: 7.984 kB / 435.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3166, allocations: 0 / 435.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3167, allocations: 0 / 435.7 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.758e-05/0.3168, allocations: 105.3 kB / 435.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3168, allocations: 3.984 kB / 435.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-05/0.3168, allocations: 12 kB / 435.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3168, allocations: 0 / 435.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3168, allocations: 0 / 435.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3168, allocations: 3.938 kB / 435.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3168, allocations: 7.984 kB / 435.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.3171, allocations: 97.03 kB / 435.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.3171, allocations: 7.953 kB / 435.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3171, allocations: 4 kB / 435.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.3172, allocations: 15.92 kB / 435.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-06/0.3172, allocations: 0 / 435.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3172, allocations: 0 / 435.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.752e-05/0.3173, allocations: 95.56 kB / 436 MB, free: 1.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3173, allocations: 0 / 436 MB, free: 1.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001968/0.3175, allocations: 4 kB / 436 MB, free: 1.867 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.0001431/0.3176, allocations: 95.23 kB / 436.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.3178, allocations: 32.11 kB / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.3178, allocations: 4.062 kB / 436.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.3178, allocations: 0 / 436.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.3182, allocations: 39.94 kB / 436.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.3186, allocations: 121.5 kB / 436.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.17e-05/0.3187, allocations: 71.33 kB / 436.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.139e-05/0.3187, allocations: 0 / 436.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.3187, allocations: 7.438 kB / 436.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3187, allocations: 7.938 kB / 436.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of Templates: time 0.00345/0.3222, allocations: 457.2 kB / 436.8 MB, free: 1.004 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.547354411333799]