Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.001232/0.001232, allocations: 113 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.001221/0.001221, allocations: 190.9 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.374/1.374, allocations: 225.6 MB / 249.8 MB, free: 3.73 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.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 47.92 kB / 366.8 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09635, allocations: 52.14 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002559/0.09891, allocations: 1.462 MB / 420.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.09909, allocations: 39.84 kB / 420.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.09915, allocations: 0 / 420.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.417e-05/0.09917, allocations: 11.81 kB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.09922, allocations: 7.938 kB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.09946, allocations: 19.97 kB / 420.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.585e-05/0.09955, allocations: 39.91 kB / 420.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.09965, allocations: 8 kB / 420.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.0997, allocations: 19.92 kB / 420.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.09974, allocations: 19.92 kB / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.09976, allocations: 0 / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.09977, allocations: 4 kB / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.09979, allocations: 11.98 kB / 420.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.09983, allocations: 23.86 kB / 420.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.09993, allocations: 39.81 kB / 420.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09994, allocations: 0 / 420.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09994, allocations: 0 / 420.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.09994, allocations: 0 / 420.7 MB, free: 10.4 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.0005314/0.1005, allocations: 356.8 kB / 421 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1005, allocations: 8.031 kB / 421 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.1005, allocations: 8.938 kB / 421 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.1008, allocations: 184.1 kB / 421.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.1008, allocations: 8.375 kB / 421.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.1008, allocations: 8.359 kB / 421.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.1014, allocations: 163.8 kB / 421.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1014, allocations: 192 / 421.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1014, allocations: 3.938 kB / 421.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1014, allocations: 0 / 421.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.1017, allocations: 55.88 kB / 421.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.1018, allocations: 157.7 kB / 421.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.1022, allocations: 78.52 kB / 421.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.1023, allocations: 32.91 kB / 421.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.1024, allocations: 4 kB / 421.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.1024, allocations: 38.55 kB / 421.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1024, allocations: 0 / 421.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005166/0.1029, allocations: 125.4 kB / 421.9 MB, free: 9.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.103, allocations: 51.41 kB / 421.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.103, allocations: 105.8 kB / 422 MB, free: 8.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1031, allocations: 25.7 kB / 422 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.1031, allocations: 92.14 kB / 422.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.1031, allocations: 0 / 422.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.1031, allocations: 21.7 kB / 422.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1033, allocations: 310.8 kB / 422.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.1033, allocations: 8 kB / 422.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.1033, allocations: 27.42 kB / 422.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.535e-05/0.1034, allocations: 47.31 kB / 422.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1034, allocations: 0 / 422.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.904e-05/0.1035, allocations: 65.52 kB / 422.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1035, allocations: 6.5 kB / 422.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1035, allocations: 7.938 kB / 422.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1035, allocations: 8.062 kB / 422.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/0.1036, allocations: 8 kB / 422.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1036, allocations: 0 / 422.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.1036, allocations: 4 kB / 422.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.1036, allocations: 320 / 422.6 MB, free: 8.172 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: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.932e-05/0.1037, allocations: 117.8 kB / 422.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.104, allocations: 85.58 kB / 422.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.104, allocations: 11.84 kB / 422.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.104, allocations: 0 / 422.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.104, allocations: 8 kB / 422.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.104, allocations: 240 / 422.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.1042, allocations: 161.6 kB / 423 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1042, allocations: 3.984 kB / 423 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.909e-05/0.1043, allocations: 11.98 kB / 423 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.1043, allocations: 7.984 kB / 423 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1043, allocations: 8.062 kB / 423 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1043, allocations: 0 / 423 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1043, allocations: 0 / 423 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.1046, allocations: 121 kB / 423.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.1047, allocations: 81.06 kB / 423.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1047, allocations: 7.938 kB / 423.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.1048, allocations: 11.98 kB / 423.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-06/0.1048, allocations: 0 / 423.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.1048, allocations: 0 / 423.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.824e-05/0.1048, allocations: 87.25 kB / 423.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1048, allocations: 0 / 423.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.105, allocations: 12 kB / 423.4 MB, free: 7.34 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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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.000101/0.1051, allocations: 103.7 kB / 423.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.1053, allocations: 47.89 kB / 423.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1053, allocations: 0 / 423.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1053, allocations: 0 / 423.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1057, allocations: 35.98 kB / 423.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.1061, allocations: 159.1 kB / 423.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1064, allocations: 0.6886 MB / 424.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.1064, allocations: 19.36 kB / 424.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1064, allocations: 0 / 424.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of Templates: time 0.002114/0.1085, allocations: 0.6897 MB / 425.1 MB, free: 5.535 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.1589852180331945]