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.001734/0.001734, allocations: 114.5 kB / 18.45 MB, free: 4.602 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.001992/0.001992, allocations: 190.7 kB / 21.4 MB, free: 1.664 MB / 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.364/1.364, allocations: 225.6 MB / 249.8 MB, free: 3.629 MB / 190.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.001443/0.001443, allocations: 51.92 kB / 366.8 MB, free: 452 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.0945, allocations: 52.14 MB / 419 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002693/0.09719, allocations: 1.491 MB / 420.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006692/0.09786, allocations: 407 kB / 420.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.09792, allocations: 0 / 420.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.09795, allocations: 3.938 kB / 420.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.09801, allocations: 15.92 kB / 420.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.09822, allocations: 19.98 kB / 420.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.09832, allocations: 47.83 kB / 420.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.09841, allocations: 4 kB / 420.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.331e-05/0.09846, allocations: 19.92 kB / 421 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.0985, allocations: 15.92 kB / 421 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.09852, allocations: 4 kB / 421 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.09853, allocations: 0 / 421 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.09855, allocations: 8 kB / 421 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.09859, allocations: 15.88 kB / 421 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.09869, allocations: 43.81 kB / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.0987, allocations: 0 / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.0987, allocations: 0 / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.0987, allocations: 0 / 421 MB, free: 10.11 MB / 350.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.0005112/0.09921, allocations: 351.3 kB / 421.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.09925, allocations: 12.03 kB / 421.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.09928, allocations: 4.938 kB / 421.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.0995, allocations: 180.3 kB / 421.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.09951, allocations: 4.375 kB / 421.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.09952, allocations: 8.375 kB / 421.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.09996, allocations: 135.6 kB / 421.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.09997, allocations: 0 / 421.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.09998, allocations: 4 kB / 421.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.09998, allocations: 0 / 421.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.1002, allocations: 47.83 kB / 421.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.1003, allocations: 157.6 kB / 421.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.1006, allocations: 82.52 kB / 422 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1007, allocations: 32.91 kB / 422 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1007, allocations: 0 / 422 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1008, allocations: 34.5 kB / 422.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1008, allocations: 0 / 422.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003729/0.1011, allocations: 109.5 kB / 422.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.1012, allocations: 51.41 kB / 422.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.1013, allocations: 105.8 kB / 422.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1013, allocations: 33.7 kB / 422.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.1013, allocations: 84.12 kB / 422.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.752e-06/0.1013, allocations: 0 / 422.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.1014, allocations: 17.72 kB / 422.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1015, allocations: 314.8 kB / 422.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.1015, allocations: 12 kB / 422.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.1016, allocations: 23.44 kB / 422.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.1016, allocations: 31.38 kB / 422.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.1016, allocations: 8 kB / 422.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.969e-05/0.1017, allocations: 57.56 kB / 422.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1017, allocations: 7.938 kB / 422.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1017, allocations: 0 / 422.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1017, allocations: 4 kB / 422.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.117e-05/0.1018, allocations: 4 kB / 422.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.1018, allocations: 3.984 kB / 422.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.1018, allocations: 11.89 kB / 422.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.1018, allocations: 128 / 422.9 MB, free: 7.965 MB / 350.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.657e-05/0.1019, allocations: 117.8 kB / 423.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.1021, allocations: 81.53 kB / 423.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.1021, allocations: 7.906 kB / 423.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.1021, allocations: 0 / 423.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1021, allocations: 0 / 423.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1021, allocations: 336 / 423.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1023, allocations: 161.7 kB / 423.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1023, allocations: 8 kB / 423.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.1023, allocations: 11.98 kB / 423.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1023, allocations: 7.875 kB / 423.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.1024, allocations: 0 / 423.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1024, allocations: 0 / 423.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1024, allocations: 3.984 kB / 423.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.1026, allocations: 105 kB / 423.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.1027, allocations: 89.03 kB / 423.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.1027, allocations: 3.938 kB / 423.5 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.611e-05/0.1027, allocations: 4 kB / 423.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-06/0.1027, allocations: 0 / 423.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1027, allocations: 0 / 423.5 MB, free: 7.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.702e-05/0.1028, allocations: 95.56 kB / 423.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1028, allocations: 0 / 423.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001809/0.103, allocations: 4 kB / 423.6 MB, free: 7.168 MB / 350.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.000114/0.1031, allocations: 107.7 kB / 423.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.1032, allocations: 35.91 kB / 423.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1033, allocations: 0 / 423.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.1033, allocations: 0 / 423.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.1035, allocations: 38.45 kB / 423.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.1039, allocations: 151.5 kB / 423.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.1042, allocations: 0.6805 MB / 424.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.1042, allocations: 11.44 kB / 424.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1042, allocations: 0 / 424.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of Templates: time 0.002194/0.1064, allocations: 0.6023 MB / 425.2 MB, free: 5.48 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.201581852976233]