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.001341/0.001341, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.003536/0.003536, allocations: 170 kB / 24.82 MB, free: 9.254 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 0.9469/0.9469, allocations: 177 MB / 205.1 MB, free: 5.473 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 2.084e-06/2.084e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.974e-05, allocations: 5.125 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003518/0.003548, allocations: 1.607 MB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.004662, allocations: 0.518 MB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.004763, allocations: 4 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.258e-05/0.004816, allocations: 7.875 kB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.004969, allocations: 7.875 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.005301, allocations: 59.8 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.634e-05/0.005398, allocations: 47.8 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.005481, allocations: 12.17 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.005608, allocations: 47.77 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.005652, allocations: 15.92 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.005668, allocations: 4 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.557e-05/0.005703, allocations: 4 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.005741, allocations: 11.98 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.00576, allocations: 19.92 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.005869, allocations: 39.83 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005871, allocations: 0 / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.005872, allocations: 0 / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.005876, allocations: 0 / 275.7 MB, free: 14.82 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.0003366/0.006212, allocations: 412.2 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.006248, allocations: 15.98 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.006355, allocations: 20.88 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.006505, allocations: 155.8 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.006514, allocations: 4.375 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.00652, allocations: 384 / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.006683, allocations: 121.6 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.00669, allocations: 4.188 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.006697, allocations: 4.125 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.006701, allocations: 0 / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.552e-05/0.006717, allocations: 11.92 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.006906, allocations: 240.1 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.201e-05/0.006948, allocations: 54.12 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/0.006964, allocations: 15.38 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.00698, allocations: 0 / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.006999, allocations: 41.44 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.007, allocations: 4 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001147/0.007115, allocations: 53.53 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.007151, allocations: 77.11 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.762e-05/0.007239, allocations: 193.9 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.007248, allocations: 29.7 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.007296, allocations: 138.8 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.007307, allocations: 3.938 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.007335, allocations: 23.36 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.007456, allocations: 0.4884 MB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.007469, allocations: 4.25 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-06/0.007476, allocations: 4 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.007501, allocations: 15.62 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007503, allocations: 0 / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.055e-05/0.007553, allocations: 41.64 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.007568, allocations: 14.75 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.007572, allocations: 0 / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.007581, allocations: 0 / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.772e-05/0.007629, allocations: 0 / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.007631, allocations: 4 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.502e-05/0.007646, allocations: 4.094 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.00765, allocations: 0 / 277.9 MB, free: 12.41 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.943e-05/0.00771, allocations: 156.6 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.007745, allocations: 41.59 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.007771, allocations: 15.75 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007773, allocations: 0 / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.007775, allocations: 0 / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.007777, allocations: 0 / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.249e-05/0.00787, allocations: 105.2 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.007874, allocations: 4 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.007899, allocations: 12.02 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.0079, allocations: 0 / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.007904, allocations: 0 / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007905, allocations: 0 / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.007908, allocations: 7.922 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.136e-05/0.007999, allocations: 203.5 kB / 278.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.008022, allocations: 7.953 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-06/0.008031, allocations: 4 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-05/0.00806, allocations: 0 / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.008085, allocations: 7.922 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.008091, allocations: 8.031 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.008142, allocations: 146.2 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008142, allocations: 0 / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001364/0.008279, allocations: 7.938 kB / 278.6 MB, free: 11.64 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.681e-05/0.008366, allocations: 91.25 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.554e-05/0.008421, allocations: 19.61 kB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.008423, allocations: 4 kB / 278.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.008433, allocations: 7.75 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.008654, allocations: 20.36 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.009036, allocations: 173.3 kB / 278.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.734e-05/0.009073, allocations: 59.34 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.601e-05/0.009099, allocations: 8.25 kB / 279 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.009156, allocations: 74.14 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009156, allocations: 0 / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of Templates: time 0.002243/0.0114, allocations: 0.6224 MB / 279.7 MB, free: 10.5 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.5565568869933486]