Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001016/0.001016, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001247/0.001247, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9285/0.9285, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.965e-05, allocations: 2.312 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.005842/0.005872, allocations: 1.613 MB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009115/0.006783, allocations: 0.5218 MB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.00687, allocations: 7.938 kB / 275 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.471e-05/0.006925, allocations: 3.938 kB / 275 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.007066, allocations: 7.875 kB / 275 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.007396, allocations: 67.72 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.007507, allocations: 47.8 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.007606, allocations: 16.11 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/0.01085, allocations: 39.89 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.735e-05/0.01091, allocations: 11.98 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.01092, allocations: 0 / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.553e-05/0.01097, allocations: 8 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.818e-05/0.01102, allocations: 15.92 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.01105, allocations: 15.92 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.01121, allocations: 47.77 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01121, allocations: 0 / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01121, allocations: 0 / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.01122, allocations: 0 / 275.3 MB, free: 15.01 MB / 266.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.0004423/0.01166, allocations: 416.2 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.0117, allocations: 11.98 kB / 275.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.01185, allocations: 20.88 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.01204, allocations: 149.3 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.01205, allocations: 4.359 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.01206, allocations: 4.375 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.01231, allocations: 121.6 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.01232, allocations: 4.125 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.01233, allocations: 4.125 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.01234, allocations: 0 / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.24e-05/0.01236, allocations: 7.984 kB / 276 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.01264, allocations: 263.5 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.682e-05/0.01271, allocations: 54.19 kB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.01273, allocations: 19.38 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.01275, allocations: 0 / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.01277, allocations: 41.33 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.01277, allocations: 4 kB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001653/0.01294, allocations: 53.58 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.01298, allocations: 81.05 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.0131, allocations: 197.2 kB / 276.7 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.01311, allocations: 29.69 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.01316, allocations: 138.8 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.01318, allocations: 4 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.01321, allocations: 15.38 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.01333, allocations: 0.4925 MB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.01334, allocations: 4 kB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-06/0.01335, allocations: 3.938 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.145e-05/0.01338, allocations: 11.69 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01339, allocations: 0 / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.532e-05/0.01345, allocations: 45.53 kB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003045/0.0165, allocations: 7.125 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.01651, allocations: 0 / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.01653, allocations: 3.984 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.01662, allocations: 4 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01662, allocations: 4.094 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.01665, allocations: 0 / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.01665, allocations: 0 / 277.5 MB, free: 12.58 MB / 266.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 8.437e-05/0.01674, allocations: 156.6 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.01682, allocations: 49.58 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.01685, allocations: 3.812 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.01686, allocations: 4 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01686, allocations: 0 / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.01686, allocations: 0 / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.017, allocations: 132.6 kB / 277.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.01701, allocations: 8.031 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.01703, allocations: 7.938 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01703, allocations: 0 / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.01704, allocations: 3.938 kB / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01704, allocations: 0 / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01704, allocations: 0 / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.01717, allocations: 203.6 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.01721, allocations: 15.94 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.01722, allocations: 3.938 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.744e-05/0.01727, allocations: 4 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.0173, allocations: 4.031 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.01731, allocations: 0 / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.981e-05/0.01738, allocations: 147.2 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01738, allocations: 0 / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.01759, allocations: 4 kB / 278.2 MB, free: 11.77 MB / 266.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 0.0001015/0.01769, allocations: 99.19 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.169e-05/0.01777, allocations: 15.69 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.01777, allocations: 0 / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.01779, allocations: 15.69 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.01803, allocations: 19.39 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.0185, allocations: 177.2 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.739e-05/0.01855, allocations: 62.97 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.211e-05/0.01858, allocations: 8.234 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.01862, allocations: 8.5 kB / 278.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01862, allocations: 4.156 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of Templates: time 0.003123/0.02174, allocations: 0.6005 MB / 279.2 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.667259878013283]