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.001288/0.001288, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001363/0.001363, allocations: 155.2 kB / 24.49 MB, free: 3.719 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.403/1.403, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] 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.001628/0.001628, allocations: 47.56 kB / 319.4 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09126/0.09289, allocations: 52.16 MB / 371.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003066/0.09596, allocations: 1.478 MB / 373.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007217/0.09668, allocations: 391.1 kB / 373.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.09674, allocations: 0 / 373.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.09677, allocations: 3.938 kB / 373.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.673e-05/0.09683, allocations: 3.938 kB / 373.4 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.09709, allocations: 31.91 kB / 373.5 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.254e-05/0.09718, allocations: 39.86 kB / 373.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.276e-05/0.09727, allocations: 7.984 kB / 373.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.441e-05/0.09732, allocations: 11.94 kB / 373.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.484e-05/0.09737, allocations: 19.91 kB / 373.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.09739, allocations: 4 kB / 373.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.0974, allocations: 8 kB / 373.6 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.09742, allocations: 4 kB / 373.6 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.09746, allocations: 15.92 kB / 373.6 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.819e-05/0.09756, allocations: 39.77 kB / 373.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.09757, allocations: 0 / 373.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.09757, allocations: 0 / 373.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.09757, allocations: 3.938 kB / 373.6 MB, free: 5.301 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.0004708/0.09804, allocations: 274.2 kB / 373.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.09808, allocations: 8.922 kB / 373.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.09812, allocations: 8.891 kB / 373.9 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.09835, allocations: 130.5 kB / 374 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.09836, allocations: 384 / 374 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.09837, allocations: 4.375 kB / 374 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.09883, allocations: 139.6 kB / 374.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.09884, allocations: 0 / 374.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.09885, allocations: 7.938 kB / 374.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.09885, allocations: 0 / 374.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.09902, allocations: 35.95 kB / 374.2 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.09914, allocations: 105.3 kB / 374.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.09942, allocations: 82.5 kB / 374.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.09953, allocations: 36.91 kB / 374.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.09955, allocations: 0 / 374.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.09958, allocations: 34.56 kB / 374.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.09958, allocations: 0 / 374.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003604/0.09994, allocations: 105.5 kB / 374.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.09999, allocations: 55.41 kB / 374.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.1001, allocations: 105.8 kB / 374.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1001, allocations: 25.7 kB / 374.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.1001, allocations: 88.14 kB / 374.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.305e-06/0.1002, allocations: 4 kB / 374.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.1002, allocations: 9.719 kB / 374.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1003, allocations: 322.8 kB / 375.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-06/0.1003, allocations: 3.938 kB / 375.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.708e-05/0.1004, allocations: 39.38 kB / 375.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.153e-05/0.1004, allocations: 27.44 kB / 375.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.1004, allocations: 4 kB / 375.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.874e-05/0.1005, allocations: 57.56 kB / 375.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1005, allocations: 10.81 kB / 375.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.1005, allocations: 3.938 kB / 375.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1005, allocations: 3.938 kB / 375.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.083e-05/0.1006, allocations: 11.98 kB / 375.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1006, allocations: 0 / 375.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.1006, allocations: 7.953 kB / 375.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.1006, allocations: 0 / 375.3 MB, free: 3.387 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.579e-05/0.1007, allocations: 118 kB / 375.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.1009, allocations: 77.59 kB / 375.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.1009, allocations: 7.938 kB / 375.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1009, allocations: 0 / 375.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.101, allocations: 0 / 375.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.101, allocations: 0 / 375.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.663e-05/0.101, allocations: 105.3 kB / 375.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.101, allocations: 4 kB / 375.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.351e-05/0.1011, allocations: 11.98 kB / 375.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1011, allocations: 4 kB / 375.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1011, allocations: 0 / 375.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1011, allocations: 3.938 kB / 375.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1011, allocations: 0 / 375.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1014, allocations: 113 kB / 375.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.1014, allocations: 0 / 375.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1014, allocations: 4 kB / 375.8 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.777e-05/0.1014, allocations: 3.938 kB / 375.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-06/0.1014, allocations: 11.98 kB / 375.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1014, allocations: 0 / 375.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.648e-05/0.1015, allocations: 83.28 kB / 375.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1015, allocations: 0 / 375.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.1017, allocations: 4 kB / 375.9 MB, free: 2.773 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 9.472e-05/0.1018, allocations: 95.62 kB / 376 MB, free: 2.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.102, allocations: 39.91 kB / 376 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.102, allocations: 4 kB / 376 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.102, allocations: 4.25 kB / 376 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.1023, allocations: 32.09 kB / 376.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.1026, allocations: 133.4 kB / 376.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.11e-05/0.1026, allocations: 67.28 kB / 376.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.524e-05/0.1026, allocations: 7.984 kB / 376.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.1027, allocations: 8.5 kB / 376.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1027, allocations: 7.875 kB / 376.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of Templates: time 0.002676/0.1053, allocations: 435.8 kB / 376.7 MB, free: 1.906 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/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: 4.080048935022205]