Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.002065, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007/0.0007, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008707/0.001571, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9108/0.9108, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07907/0.9899, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.435e-05, allocations: 2.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.001674/0.001688, allocations: 1.665 MB / 246.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005923/0.00228, allocations: 0.5342 MB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.002343, allocations: 4 kB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.002376, allocations: 7.922 kB / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.002441, allocations: 11.88 kB / 246.7 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.002611, allocations: 55.75 kB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.568e-05/0.002696, allocations: 51.78 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.864e-05/0.002765, allocations: 8.188 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.002867, allocations: 43.83 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.315e-05/0.00291, allocations: 11.92 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.002924, allocations: 8 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-05/0.002973, allocations: 12 kB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.003002, allocations: 11.92 kB / 246.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.003018, allocations: 8 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.622e-05/0.003114, allocations: 47.72 kB / 247 MB, free: 11.85 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.003126, allocations: 0 / 247 MB, free: 11.85 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003126, allocations: 0 / 247 MB, free: 11.85 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.003137, allocations: 0 / 247 MB, free: 11.85 MB / 250.7 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.0003294/0.003466, allocations: 292.3 kB / 247.3 MB, free: 11.54 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.576e-05/0.003492, allocations: 8.031 kB / 247.3 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.003615, allocations: 94.03 kB / 247.4 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.003748, allocations: 149.5 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-06/0.003754, allocations: 4.375 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-06/0.00376, allocations: 384 / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.003896, allocations: 110.3 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.003902, allocations: 192 / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-06/0.003908, allocations: 4.125 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.003912, allocations: 7.938 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.003929, allocations: 7.984 kB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.004069, allocations: 149.1 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.471e-05/0.004104, allocations: 37.19 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.004116, allocations: 13.83 kB / 247.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.004131, allocations: 7.938 kB / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.004152, allocations: 30.56 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.004153, allocations: 0 / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 9.214e-05/0.004245, allocations: 53.66 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.004279, allocations: 77.11 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.538e-05/0.004344, allocations: 138.6 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.004352, allocations: 29.7 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.004378, allocations: 80.14 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.00439, allocations: 3.953 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.004412, allocations: 21.69 kB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.154e-05/0.004473, allocations: 314.8 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-06/0.004478, allocations: 0 / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.004484, allocations: 0 / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.884e-05/0.004503, allocations: 25 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.004504, allocations: 0 / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.187e-05/0.004536, allocations: 33.7 kB / 248.6 MB, free: 9.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.004548, allocations: 11.59 kB / 248.7 MB, free: 9.973 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.004554, allocations: 3.938 kB / 248.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.543e-06/0.00456, allocations: 0 / 248.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.513e-05/0.004605, allocations: 7.984 kB / 248.7 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.004608, allocations: 0 / 248.7 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.004619, allocations: 0 / 248.7 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.004624, allocations: 0 / 248.7 MB, free: 9.961 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 4.248e-05/0.004666, allocations: 116.7 kB / 248.8 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.004691, allocations: 37.62 kB / 248.8 MB, free: 9.793 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.004715, allocations: 15.75 kB / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.004717, allocations: 0 / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.004719, allocations: 0 / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.004722, allocations: 0 / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.179e-05/0.004794, allocations: 73.88 kB / 248.9 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.004795, allocations: 0 / 248.9 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.004814, allocations: 15.92 kB / 248.9 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.004836, allocations: 15.88 kB / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.004837, allocations: 4.031 kB / 248.9 MB, free: 9.648 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-06/0.004841, allocations: 3.984 kB / 248.9 MB, free: 9.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.004844, allocations: 7.938 kB / 249 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004844, allocations: 0 / 249 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.809e-05/0.004903, allocations: 136.3 kB / 249.1 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.004911, allocations: 0 / 249.1 MB, free: 9.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.877e-05/0.004939, allocations: 4 kB / 249.1 MB, free: 9.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.004962, allocations: 11.92 kB / 249.1 MB, free: 9.469 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.004964, allocations: 0 / 249.1 MB, free: 9.469 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.068e-05/0.004985, allocations: 27.94 kB / 249.1 MB, free: 9.441 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004985, allocations: 4.031 kB / 249.1 MB, free: 9.438 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001124/0.005097, allocations: 4 kB / 249.1 MB, free: 9.434 MB / 250.7 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 5.764e-05/0.005155, allocations: 80.41 kB / 249.2 MB, free: 9.344 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.676e-05/0.005202, allocations: 12.84 kB / 249.2 MB, free: 9.328 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.005205, allocations: 0 / 249.2 MB, free: 9.328 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.07e-05/0.005216, allocations: 12.8 kB / 249.2 MB, free: 9.312 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.005385, allocations: 16.3 kB / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005743/0.00596, allocations: 171.8 kB / 249.4 MB, free: 9.098 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.009e-05/0.00599, allocations: 59.34 kB / 249.5 MB, free: 9.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.833e-05/0.006008, allocations: 4 kB / 249.5 MB, free: 9.016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.006053, allocations: 51.38 kB / 249.5 MB, free: 8.965 MB / 250.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006054, allocations: 0 / 249.5 MB, free: 8.965 MB / 250.7 MB Notification: Performance of Templates: time 0.001853/0.007907, allocations: 0.6203 MB / 250.2 MB, free: 8.359 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3395003089681268]