Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 47.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3531, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003391/0.3565, allocations: 1.499 MB / 422.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000976/0.3575, allocations: 425 kB / 422.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.644e-05/0.3576, allocations: 0 / 422.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.3576, allocations: 3.938 kB / 422.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.32e-05/0.3577, allocations: 7.938 kB / 422.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.358, allocations: 23.97 kB / 422.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.3582, allocations: 39.86 kB / 422.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3583, allocations: 11.98 kB / 422.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.3583, allocations: 11.94 kB / 422.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.3584, allocations: 15.92 kB / 422.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.3584, allocations: 8 kB / 422.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.3584, allocations: 4 kB / 422.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.69e-05/0.3584, allocations: 11.92 kB / 422.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.3585, allocations: 15.92 kB / 422.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.3586, allocations: 37.38 kB / 423 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3586, allocations: 0 / 423 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3586, allocations: 0 / 423 MB, free: 13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.3586, allocations: 0 / 423 MB, free: 13 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.0006798/0.3593, allocations: 355 kB / 423.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.3594, allocations: 12.03 kB / 423.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.3594, allocations: 4.938 kB / 423.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.3598, allocations: 184.2 kB / 423.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3598, allocations: 4.375 kB / 423.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.3598, allocations: 384 / 423.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005186/0.3603, allocations: 147.6 kB / 423.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3604, allocations: 0 / 423.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3604, allocations: 0 / 423.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3604, allocations: 0 / 423.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.3606, allocations: 35.91 kB / 423.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.3608, allocations: 165.6 kB / 423.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.361, allocations: 82.5 kB / 423.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3611, allocations: 32.91 kB / 424 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.3612, allocations: 0 / 424 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.3612, allocations: 38.5 kB / 424 MB, free: 11.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3612, allocations: 4 kB / 424 MB, free: 11.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003966/0.3616, allocations: 93.58 kB / 424.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.3617, allocations: 59.39 kB / 424.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3618, allocations: 105.8 kB / 424.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3618, allocations: 25.7 kB / 424.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.3618, allocations: 88.12 kB / 424.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.206e-06/0.3619, allocations: 8 kB / 424.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.3619, allocations: 13.72 kB / 424.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3621, allocations: 314.8 kB / 424.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.3621, allocations: 3.984 kB / 424.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.3621, allocations: 27.44 kB / 424.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.072e-05/0.3622, allocations: 39.38 kB / 424.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3622, allocations: 0 / 424.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.144e-05/0.3623, allocations: 57.56 kB / 424.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3623, allocations: 7.938 kB / 424.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3623, allocations: 4 kB / 424.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3623, allocations: 3.938 kB / 424.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.3624, allocations: 12.12 kB / 424.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3624, allocations: 0 / 424.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.365e-05/0.3624, allocations: 3.953 kB / 424.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.3624, allocations: 4 kB / 424.9 MB, free: 10.86 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.0001101/0.3625, allocations: 117.8 kB / 425 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.3627, allocations: 81.53 kB / 425.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.3627, allocations: 7.906 kB / 425.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3627, allocations: 4 kB / 425.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3627, allocations: 0 / 425.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3628, allocations: 0 / 425.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.3629, allocations: 165.6 kB / 425.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3629, allocations: 0 / 425.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-05/0.363, allocations: 15.98 kB / 425.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.363, allocations: 3.938 kB / 425.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.363, allocations: 4 kB / 425.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.363, allocations: 0 / 425.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.363, allocations: 0 / 425.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.3633, allocations: 105 kB / 425.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.3633, allocations: 81.05 kB / 425.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.3633, allocations: 7.984 kB / 425.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.3634, allocations: 8 kB / 425.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-06/0.3634, allocations: 384 / 425.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.3634, allocations: 0 / 425.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.888e-05/0.3635, allocations: 91.56 kB / 425.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3635, allocations: 0 / 425.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001939/0.3637, allocations: 8 kB / 425.6 MB, free: 10.06 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.0001232/0.3638, allocations: 100 kB / 425.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.364, allocations: 31.91 kB / 425.7 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.364, allocations: 3.938 kB / 425.7 MB, free: 9.922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.364, allocations: 4 kB / 425.7 MB, free: 9.918 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.3643, allocations: 44.22 kB / 425.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.3647, allocations: 117.5 kB / 425.8 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.365, allocations: 0.6883 MB / 426.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.987e-05/0.3651, allocations: 4 kB / 426.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.3651, allocations: 7.438 kB / 426.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3651, allocations: 3.938 kB / 426.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of Templates: time 0.003178/0.3683, allocations: 436.4 kB / 427 MB, free: 8.578 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.087929295375943]