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.002396/0.002396, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.002246/0.002246, allocations: 220.5 kB / 23 MB, free: 5.574 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.653/1.653, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.001949/0.001949, allocations: 67.89 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3724, allocations: 53.31 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003011/0.3754, allocations: 1.512 MB / 431.3 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.3763, allocations: 450.9 kB / 431.7 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.642e-05/0.3764, allocations: 4 kB / 431.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.3764, allocations: 3.938 kB / 431.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.462e-05/0.3765, allocations: 7.938 kB / 431.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.3768, allocations: 23.91 kB / 431.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3769, allocations: 39.84 kB / 431.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.377, allocations: 11.98 kB / 431.8 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.63e-05/0.3771, allocations: 19.92 kB / 431.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.866e-05/0.3771, allocations: 15.92 kB / 431.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.3772, allocations: 4 kB / 431.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.3772, allocations: 4 kB / 431.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.3772, allocations: 8 kB / 431.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.033e-05/0.3772, allocations: 15.88 kB / 431.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.3774, allocations: 37.42 kB / 431.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3774, allocations: 0 / 431.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3774, allocations: 3.938 kB / 431.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.3774, allocations: 0 / 431.9 MB, free: 5.387 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.0005557/0.3779, allocations: 351 kB / 432.3 MB, free: 5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.378, allocations: 12.03 kB / 432.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.378, allocations: 8.891 kB / 432.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.3783, allocations: 180.3 kB / 432.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3783, allocations: 384 / 432.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.3783, allocations: 8.375 kB / 432.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.3788, allocations: 143.5 kB / 432.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3788, allocations: 3.938 kB / 432.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3788, allocations: 0 / 432.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3788, allocations: 0 / 432.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.379, allocations: 35.95 kB / 432.7 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.3791, allocations: 157.7 kB / 432.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.3794, allocations: 82.5 kB / 432.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3795, allocations: 36.91 kB / 432.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.3795, allocations: 0 / 432.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3796, allocations: 34.5 kB / 433 MB, free: 4.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3796, allocations: 3.938 kB / 433 MB, free: 4.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003763/0.3799, allocations: 101.6 kB / 433.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.38, allocations: 51.41 kB / 433.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.3801, allocations: 105.8 kB / 433.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3801, allocations: 29.7 kB / 433.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.3801, allocations: 88.08 kB / 433.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.3802, allocations: 0 / 433.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.3802, allocations: 21.72 kB / 433.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3803, allocations: 314.8 kB / 433.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.3803, allocations: 8 kB / 433.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/0.3804, allocations: 27.38 kB / 433.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.584e-05/0.3804, allocations: 31.44 kB / 433.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3804, allocations: 4 kB / 433.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.402e-05/0.3805, allocations: 61.52 kB / 433.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3805, allocations: 7.938 kB / 433.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3805, allocations: 0 / 433.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3805, allocations: 4 kB / 433.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.3806, allocations: 7.984 kB / 433.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3806, allocations: 4.125 kB / 433.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.3806, allocations: 8 kB / 433.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.3806, allocations: 0 / 433.8 MB, free: 3.246 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 8.645e-05/0.3807, allocations: 113.8 kB / 433.9 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.3809, allocations: 85.48 kB / 434 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.3809, allocations: 7.906 kB / 434 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3809, allocations: 0 / 434 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3809, allocations: 4 kB / 434 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.381, allocations: 0 / 434 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.3811, allocations: 161.6 kB / 434.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3811, allocations: 4 kB / 434.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.098e-05/0.3812, allocations: 11.98 kB / 434.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3812, allocations: 3.938 kB / 434.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.3812, allocations: 0 / 434.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3812, allocations: 3.938 kB / 434.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3812, allocations: 0 / 434.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.3814, allocations: 113.3 kB / 434.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.3815, allocations: 85 kB / 434.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3815, allocations: 0 / 434.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.236e-05/0.3815, allocations: 4 kB / 434.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-06/0.3815, allocations: 4.031 kB / 434.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.3815, allocations: 3.984 kB / 434.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.787e-05/0.3816, allocations: 87.28 kB / 434.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3816, allocations: 7.938 kB / 434.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001863/0.3818, allocations: 4 kB / 434.5 MB, free: 2.441 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.0001349/0.3819, allocations: 95.25 kB / 434.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.3821, allocations: 35.91 kB / 434.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3821, allocations: 0 / 434.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.3821, allocations: 0 / 434.7 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3824, allocations: 36.22 kB / 434.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.3829, allocations: 133.5 kB / 434.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.3833, allocations: 0.6807 MB / 435.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.675e-05/0.3833, allocations: 3.984 kB / 435.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.3833, allocations: 7.438 kB / 435.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3833, allocations: 0 / 435.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of Templates: time 0.003298/0.3866, allocations: 443.2 kB / 435.9 MB, free: 0.9688 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: 5.041615893132985]