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.001611/0.001611, allocations: 115.7 kB / 19.18 MB, free: 3.926 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.001722/0.001722, allocations: 209 kB / 22.13 MB, free: 0.9805 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.511/1.511, allocations: 230.5 MB / 255.4 MB, free: 15.01 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.001967/0.001967, allocations: 63.83 kB / 374.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1142, allocations: 53.32 MB / 428 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003149/0.1174, allocations: 1.575 MB / 429.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1185, allocations: 0.5299 MB / 430.2 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1186, allocations: 7.938 kB / 430.2 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.73e-05/0.1187, allocations: 7.922 kB / 430.2 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.1188, allocations: 11.92 kB / 430.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.1191, allocations: 59.81 kB / 430.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1193, allocations: 47.8 kB / 430.3 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1194, allocations: 12.17 kB / 430.3 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1195, allocations: 35.84 kB / 430.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.1196, allocations: 19.86 kB / 430.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1196, allocations: 4 kB / 430.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.1196, allocations: 4 kB / 430.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.1197, allocations: 15.92 kB / 430.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.1197, allocations: 27.81 kB / 430.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1199, allocations: 59.73 kB / 430.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1199, allocations: 3.938 kB / 430.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1199, allocations: 3.938 kB / 430.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1199, allocations: 0 / 430.5 MB, free: 1.949 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000531/0.1204, allocations: 383.1 kB / 430.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1205, allocations: 8.031 kB / 430.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.1206, allocations: 16.88 kB / 430.9 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.121, allocations: 214.4 kB / 431.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.121, allocations: 384 / 431.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.121, allocations: 4.375 kB / 431.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.1213, allocations: 109.2 kB / 431.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1213, allocations: 3.984 kB / 431.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1213, allocations: 4 kB / 431.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1213, allocations: 0 / 431.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.583e-05/0.1214, allocations: 15.98 kB / 431.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.1217, allocations: 265.7 kB / 431.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.514e-05/0.1218, allocations: 45.2 kB / 431.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.1219, allocations: 21.72 kB / 431.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1219, allocations: 0 / 431.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1219, allocations: 38.56 kB / 431.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1219, allocations: 0 / 431.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002503/0.1222, allocations: 73.75 kB / 431.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.1223, allocations: 81.05 kB / 431.7 MB, free: 492 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.1224, allocations: 145.8 kB / 431.9 MB, free: 336 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1224, allocations: 25.7 kB / 431.9 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.1225, allocations: 88.14 kB / 432 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.1225, allocations: 7.938 kB / 432 MB, free: 204 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.1225, allocations: 13.72 kB / 432 MB, free: 184 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.2416/0.3641, allocations: 319.5 kB / 432.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.3642, allocations: 4.453 kB / 432.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.534e-05/0.3643, allocations: 22.39 kB / 432.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.318e-05/0.3644, allocations: 33.53 kB / 432.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3644, allocations: 2.688 kB / 432.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001671/0.3645, allocations: 60.47 kB / 432.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.3646, allocations: 4.75 kB / 432.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3646, allocations: 1.281 kB / 432.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.143e-05/0.3646, allocations: 0.8125 kB / 432.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/0.3647, allocations: 6.453 kB / 432.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3647, allocations: 0.5938 kB / 432.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.3648, allocations: 3.594 kB / 432.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3648, allocations: 1.906 kB / 432.4 MB, free: 11.05 MB / 350.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.002e-05/0.3649, allocations: 120.3 kB / 432.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.3649, allocations: 40.42 kB / 432.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.365, allocations: 12.28 kB / 432.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.365, allocations: 5.25 kB / 432.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.365, allocations: 1.234 kB / 432.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.365, allocations: 4 kB / 432.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.3652, allocations: 167.1 kB / 432.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3652, allocations: 0.5 kB / 432.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.3652, allocations: 8.812 kB / 432.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3652, allocations: 0.8438 kB / 432.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3652, allocations: 2.047 kB / 432.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3652, allocations: 3.938 kB / 432.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3653, allocations: 4.719 kB / 432.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.3654, allocations: 155.2 kB / 433 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.3655, allocations: 92.25 kB / 433.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3655, allocations: 4.125 kB / 433.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.3656, allocations: 9.531 kB / 433.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.3656, allocations: 4.219 kB / 433.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.3657, allocations: 2.766 kB / 433.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.554e-05/0.3657, allocations: 114.1 kB / 433.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3657, allocations: 3.688 kB / 433.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.366, allocations: 4.156 kB / 433.2 MB, free: 10.39 MB / 350.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.0001129/0.3661, allocations: 95.09 kB / 433.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.3663, allocations: 24.91 kB / 433.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3663, allocations: 3.469 kB / 433.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.3663, allocations: 6.891 kB / 433.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3667, allocations: 20.22 kB / 433.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.3671, allocations: 189.2 kB / 433.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.3673, allocations: 0.6955 MB / 434.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.3673, allocations: 9.625 kB / 434.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3673, allocations: 0 / 434.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of Templates: time 0.003017/0.3703, allocations: 0.7484 MB / 435 MB, free: 9.438 MB / 350.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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 6.861530679976568]