Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.0009282/0.0009282, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003603/0.003603, allocations: 149.5 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8115/0.8115, allocations: 173.4 MB / 201.2 MB, free: 9.074 MB / 186.7 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.635e-05, allocations: 2.281 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.001985/0.002011, allocations: 1.539 MB / 321.2 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006559/0.002667, allocations: 454.8 kB / 321.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/0.002751, allocations: 3.938 kB / 321.7 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.459e-05/0.002796, allocations: 7.922 kB / 321.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.002924, allocations: 15.81 kB / 321.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.003148, allocations: 47.83 kB / 321.7 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.655e-05/0.003245, allocations: 43.83 kB / 321.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.003356, allocations: 23.88 kB / 321.8 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.003436, allocations: 31.91 kB / 321.8 MB, free: 3.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.003486, allocations: 23.91 kB / 321.9 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.003508, allocations: 0 / 321.9 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.003518, allocations: 4 kB / 321.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.003565, allocations: 11.94 kB / 321.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.003588, allocations: 11.94 kB / 321.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.003701, allocations: 51.8 kB / 321.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.003704, allocations: 0 / 321.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.003705, allocations: 0 / 321.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.00371, allocations: 4 kB / 321.9 MB, free: 3.578 MB / 282.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.0003706/0.00408, allocations: 294 kB / 322.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.004115, allocations: 12.92 kB / 322.2 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.004148, allocations: 8.891 kB / 322.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.004342, allocations: 144.1 kB / 322.4 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.004352, allocations: 4.375 kB / 322.4 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.004363, allocations: 4.375 kB / 322.4 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.004576, allocations: 105.6 kB / 322.5 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.004584, allocations: 4.188 kB / 322.5 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.004592, allocations: 384 / 322.5 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.004598, allocations: 3.938 kB / 322.5 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.235e-05/0.00464, allocations: 19.98 kB / 322.5 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.004875, allocations: 209.4 kB / 322.7 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.938e-05/0.004935, allocations: 49.14 kB / 322.8 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.004964, allocations: 17.78 kB / 322.8 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.004982, allocations: 3.984 kB / 322.8 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.005006, allocations: 50.44 kB / 322.9 MB, free: 2.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.005007, allocations: 0 / 322.9 MB, free: 2.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001694/0.005177, allocations: 65.56 kB / 322.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.00522, allocations: 81.11 kB / 323 MB, free: 2.363 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.005311, allocations: 134.2 kB / 323.1 MB, free: 2.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.00532, allocations: 25.7 kB / 323.2 MB, free: 2.188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.00536, allocations: 96.12 kB / 323.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/0.005373, allocations: 0 / 323.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.005401, allocations: 17.92 kB / 323.3 MB, free: 2.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.236e-05/0.005473, allocations: 318.8 kB / 323.6 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.005498, allocations: 7.984 kB / 323.6 MB, free: 1.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/0.005513, allocations: 4 kB / 323.6 MB, free: 1.734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.005552, allocations: 24.84 kB / 323.6 MB, free: 1.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005554, allocations: 3.938 kB / 323.6 MB, free: 1.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.926e-05/0.005614, allocations: 45.62 kB / 323.7 MB, free: 1.652 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.005627, allocations: 7.938 kB / 323.7 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.005632, allocations: 4.094 kB / 323.7 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.005642, allocations: 4 kB / 323.7 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-05/0.005693, allocations: 3.984 kB / 323.7 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.005697, allocations: 0 / 323.7 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.005715, allocations: 4 kB / 323.7 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.005722, allocations: 4 kB / 323.7 MB, free: 1.625 MB / 282.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 5.458e-05/0.005777, allocations: 113.8 kB / 323.8 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.005811, allocations: 45.59 kB / 323.8 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.005835, allocations: 11.8 kB / 323.9 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005837, allocations: 4.031 kB / 323.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.005841, allocations: 3.938 kB / 323.9 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.005843, allocations: 0 / 323.9 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.476e-05/0.005938, allocations: 121.3 kB / 324 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.00594, allocations: 4 kB / 324 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.005964, allocations: 4 kB / 324 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.005966, allocations: 0 / 324 MB, free: 1.277 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.005974, allocations: 3.938 kB / 324 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.005976, allocations: 11.92 kB / 324 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.005978, allocations: 3.984 kB / 324 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.937e-05/0.006077, allocations: 156.4 kB / 324.2 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.006105, allocations: 19.88 kB / 324.2 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.006118, allocations: 3.938 kB / 324.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-05/0.006149, allocations: 4 kB / 324.2 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.006179, allocations: 3.938 kB / 324.2 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.006183, allocations: 4 kB / 324.2 MB, free: 1.051 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.833e-05/0.006231, allocations: 108.8 kB / 324.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.006231, allocations: 0 / 324.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001399/0.006371, allocations: 4 kB / 324.3 MB, free: 0.9414 MB / 282.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 7.08e-05/0.006442, allocations: 99.28 kB / 324.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.437e-05/0.006526, allocations: 19.98 kB / 324.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.006528, allocations: 0 / 324.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.922e-05/0.006547, allocations: 11.98 kB / 324.4 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.006787, allocations: 23.16 kB / 324.5 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.007057, allocations: 182.7 kB / 324.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.559e-05/0.007113, allocations: 87.48 kB / 324.7 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.007138, allocations: 8.5 kB / 324.7 MB, free: 472 kB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.007139, allocations: 0 / 324.7 MB, free: 472 kB / 282.7 MB Notification: Performance of Templates: time 0.001598/0.008736, allocations: 0.7215 MB / 325.4 MB, free: 15.74 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 3.91913163010031]