Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001298/0.001298, allocations: 110.3 kB / 21.17 MB, free: 0.7812 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.001431/0.001431, allocations: 209.4 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.485/1.485, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 67.83 kB / 378.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3581, allocations: 53.32 MB / 432 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003498/0.3616, allocations: 1.594 MB / 433.6 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3628, allocations: 0.5376 MB / 434.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.367e-05/0.3629, allocations: 0 / 434.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.69e-05/0.363, allocations: 7.938 kB / 434.2 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.3631, allocations: 15.86 kB / 434.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.3635, allocations: 55.81 kB / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.3636, allocations: 43.84 kB / 434.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3637, allocations: 12.19 kB / 434.3 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3639, allocations: 39.84 kB / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.3639, allocations: 23.86 kB / 434.4 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.364, allocations: 4 kB / 434.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.367e-05/0.364, allocations: 4 kB / 434.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.3641, allocations: 15.92 kB / 434.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.3641, allocations: 23.81 kB / 434.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.3643, allocations: 61.22 kB / 434.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3643, allocations: 0 / 434.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3643, allocations: 4 kB / 434.5 MB, free: 4.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.3643, allocations: 0 / 434.5 MB, free: 4.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006106/0.3649, allocations: 387 kB / 434.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.365, allocations: 12.03 kB / 434.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.3651, allocations: 16.88 kB / 434.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.3655, allocations: 196.2 kB / 435.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3655, allocations: 8.312 kB / 435.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.3655, allocations: 4.375 kB / 435.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.3658, allocations: 117.2 kB / 435.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3658, allocations: 0 / 435.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3658, allocations: 3.938 kB / 435.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3659, allocations: 0 / 435.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.066e-05/0.3659, allocations: 19.92 kB / 435.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.3664, allocations: 265.8 kB / 435.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.3665, allocations: 45.16 kB / 435.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.3665, allocations: 17.77 kB / 435.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3666, allocations: 4 kB / 435.5 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3666, allocations: 34.56 kB / 435.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3666, allocations: 0 / 435.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002732/0.3669, allocations: 73.56 kB / 435.6 MB, free: 3.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.3669, allocations: 77.11 kB / 435.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3671, allocations: 138.1 kB / 435.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3671, allocations: 33.7 kB / 435.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.3672, allocations: 88.08 kB / 436 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.3672, allocations: 7.953 kB / 436 MB, free: 3.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.3672, allocations: 13.72 kB / 436 MB, free: 3.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3674, allocations: 326.8 kB / 436.3 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.945e-05/0.3674, allocations: 4 kB / 436.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.3675, allocations: 25.64 kB / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.909e-05/0.3676, allocations: 29.7 kB / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3676, allocations: 0 / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001243/0.3677, allocations: 57.58 kB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3677, allocations: 8 kB / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3677, allocations: 0 / 436.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3677, allocations: 4.125 kB / 436.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.3678, allocations: 7.984 kB / 436.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3678, allocations: 0 / 436.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.827e-05/0.3679, allocations: 4 kB / 436.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3679, allocations: 0 / 436.5 MB, free: 2.727 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 9.78e-05/0.368, allocations: 121.8 kB / 436.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.368, allocations: 41.66 kB / 436.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.3681, allocations: 11.83 kB / 436.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3681, allocations: 3.938 kB / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3681, allocations: 4.031 kB / 436.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3681, allocations: 0 / 436.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.3683, allocations: 173.6 kB / 436.8 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3683, allocations: 3.938 kB / 436.8 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.3683, allocations: 7.984 kB / 436.8 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.3683, allocations: 3.938 kB / 436.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3683, allocations: 4 kB / 436.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3683, allocations: 0 / 436.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3683, allocations: 0 / 436.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.3685, allocations: 168.3 kB / 437 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/0.3686, allocations: 89.05 kB / 437.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.3686, allocations: 11.98 kB / 437.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.3687, allocations: 0 / 437.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.3687, allocations: 7.938 kB / 437.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3687, allocations: 0 / 437.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.292e-05/0.3688, allocations: 117.5 kB / 437.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3688, allocations: 0 / 437.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.369, allocations: 4 kB / 437.2 MB, free: 1.867 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001165/0.3692, allocations: 95.25 kB / 437.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.3693, allocations: 19.98 kB / 437.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3693, allocations: 0 / 437.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.3694, allocations: 12.05 kB / 437.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.3697, allocations: 28.02 kB / 437.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.3701, allocations: 159.5 kB / 437.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3704, allocations: 0.6885 MB / 438.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.52e-05/0.3704, allocations: 0 / 438.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.3705, allocations: 11.53 kB / 438.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3705, allocations: 4 kB / 438.2 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of Templates: time 0.003303/0.3738, allocations: 0.5339 MB / 438.8 MB, free: 268 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.636269437149167]