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.001081/0.001081, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001041/0.001041, allocations: 157.1 kB / 24.99 MB, free: 8.262 MB / 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 1.01/1.01, allocations: 177 MB / 205.2 MB, free: 5.617 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.924e-06/1.924e-06, allocations: 0 / 273 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.571e-05, allocations: 2.312 kB / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003042/0.003077, allocations: 1.617 MB / 274.6 MB, free: 168 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008467/0.003924, allocations: 0.5103 MB / 275.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.004009, allocations: 3.938 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.066e-05/0.00406, allocations: 3.938 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.004202, allocations: 15.86 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.004466, allocations: 63.75 kB / 275.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.933e-05/0.004565, allocations: 43.8 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.004666, allocations: 16.16 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.004793, allocations: 39.84 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.004838, allocations: 11.97 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.004855, allocations: 4 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.275e-05/0.004898, allocations: 4 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.004939, allocations: 11.94 kB / 275.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.555e-05/0.004964, allocations: 19.92 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.005094, allocations: 43.77 kB / 275.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.0051, allocations: 8 kB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.005102, allocations: 0 / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.005109, allocations: 0 / 275.4 MB, free: 15.36 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.0004057/0.005514, allocations: 404.2 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.005556, allocations: 15.92 kB / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.005691, allocations: 20.88 kB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.005876, allocations: 153.3 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.005885, allocations: 4.375 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.005895, allocations: 8.312 kB / 276 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.006126, allocations: 125.6 kB / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.006132, allocations: 192 / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.006142, allocations: 4.125 kB / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.00615, allocations: 0 / 276.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/0.006171, allocations: 7.984 kB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.006432, allocations: 259.5 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.173e-05/0.006484, allocations: 66.05 kB / 276.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.006507, allocations: 15.5 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.006525, allocations: 4 kB / 276.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.006548, allocations: 41.27 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.006549, allocations: 0 / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.000166/0.006715, allocations: 49.64 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.006763, allocations: 85.05 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.006878, allocations: 197.2 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.006888, allocations: 25.7 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.006939, allocations: 139.1 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.006955, allocations: 8 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.006982, allocations: 19.38 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.007085, allocations: 496.1 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.0071, allocations: 8 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-06/0.007108, allocations: 0 / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.458e-05/0.007132, allocations: 7.688 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.007134, allocations: 4 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.82e-05/0.007182, allocations: 41.53 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.007196, allocations: 11.12 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.0072, allocations: 8.031 kB / 277.6 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.007214, allocations: 3.984 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.007273, allocations: 0 / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.007278, allocations: 0 / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.444e-05/0.007292, allocations: 4 kB / 277.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.007297, allocations: 0 / 277.6 MB, free: 12.93 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 5.781e-05/0.007355, allocations: 152.6 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.007394, allocations: 49.58 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.00742, allocations: 7.812 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007422, allocations: 4.031 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.007425, allocations: 0 / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007428, allocations: 0 / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.985e-05/0.007527, allocations: 136.5 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007528, allocations: 0 / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-05/0.007549, allocations: 4 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.00755, allocations: 0 / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.007558, allocations: 3.938 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.007559, allocations: 4 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.00756, allocations: 4 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.007673, allocations: 203.6 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.007701, allocations: 19.94 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.007712, allocations: 3.938 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.212e-05/0.007744, allocations: 0 / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.007775, allocations: 4 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.007778, allocations: 3.938 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.196e-05/0.00785, allocations: 143.2 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00785, allocations: 0 / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001395/0.007989, allocations: 8 kB / 278.3 MB, free: 12.12 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 8.247e-05/0.008072, allocations: 95.28 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.549e-05/0.008147, allocations: 15.69 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.00815, allocations: 0 / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.469e-05/0.008164, allocations: 11.69 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.008426, allocations: 23.33 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.008964, allocations: 173.3 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.856e-05/0.009062, allocations: 59.56 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.225e-05/0.009084, allocations: 4.25 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.009114, allocations: 16.44 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.009116, allocations: 0 / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of Templates: time 0.002299/0.01141, allocations: 0.5853 MB / 279.3 MB, free: 11.09 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.766399691812694]