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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 64.08 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08556/0.0867, allocations: 50.52 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002717/0.08946, allocations: 1.559 MB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.09029, allocations: 0.5376 MB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.09037, allocations: 7.938 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.09042, allocations: 3.938 kB / 361 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.09054, allocations: 11.94 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.09082, allocations: 55.81 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.09093, allocations: 47.84 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.09105, allocations: 24.14 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.999e-05/0.09116, allocations: 27.8 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.09122, allocations: 19.92 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.09124, allocations: 0 / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.239e-05/0.09129, allocations: 16 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.182e-05/0.09134, allocations: 15.92 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.09137, allocations: 23.8 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.0915, allocations: 63.73 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.09151, allocations: 0 / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.09152, allocations: 4 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.09153, allocations: 0 / 361.3 MB, free: 10.92 MB / 302.1 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.0004422/0.09198, allocations: 379 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.09202, allocations: 12.03 kB / 361.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.09216, allocations: 20.83 kB / 361.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.09238, allocations: 206.4 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.0924, allocations: 4.375 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.09241, allocations: 384 / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.09264, allocations: 113.2 kB / 362 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.09266, allocations: 4 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.09268, allocations: 3.984 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.09268, allocations: 0 / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/0.09276, allocations: 15.98 kB / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.09304, allocations: 261.7 kB / 362.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.779e-05/0.09313, allocations: 45.2 kB / 362.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.09319, allocations: 25.78 kB / 362.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.09322, allocations: 11.91 kB / 362.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.09324, allocations: 30.56 kB / 362.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.09325, allocations: 4 kB / 362.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002094/0.09346, allocations: 65.53 kB / 362.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.09352, allocations: 85.09 kB / 362.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.09363, allocations: 137.8 kB / 362.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.09365, allocations: 25.7 kB / 362.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.0937, allocations: 92.06 kB / 362.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.09372, allocations: 4.25 kB / 362.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.09376, allocations: 21.62 kB / 362.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.09385, allocations: 318.8 kB / 363.2 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.011e-05/0.0939, allocations: 11.98 kB / 363.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/0.09394, allocations: 13.72 kB / 363.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.049e-05/0.09402, allocations: 37.7 kB / 363.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.09402, allocations: 0 / 363.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001272/0.09416, allocations: 53.67 kB / 363.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.09418, allocations: 11.94 kB / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.09419, allocations: 0 / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.0942, allocations: 0 / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.664e-05/0.09426, allocations: 7.938 kB / 363.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.09427, allocations: 0 / 363.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.09432, allocations: 12.05 kB / 363.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.09433, allocations: 4 kB / 363.3 MB, free: 8.656 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 6.787e-05/0.0944, allocations: 121.7 kB / 363.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.09447, allocations: 37.61 kB / 363.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.09451, allocations: 19.81 kB / 363.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.09451, allocations: 0 / 363.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.09452, allocations: 0 / 363.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.09453, allocations: 0 / 363.5 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.09468, allocations: 173.6 kB / 363.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.09469, allocations: 4.031 kB / 363.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.09474, allocations: 11.92 kB / 363.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.09475, allocations: 0 / 363.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.09476, allocations: 7.938 kB / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.09477, allocations: 0 / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.09477, allocations: 0 / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.09493, allocations: 164.2 kB / 363.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.09499, allocations: 89 kB / 363.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.09501, allocations: 0 / 363.9 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.09508, allocations: 7.984 kB / 363.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.09511, allocations: 0 / 363.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.09512, allocations: 0 / 363.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.783e-05/0.09519, allocations: 118.3 kB / 364 MB, free: 7.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.0952, allocations: 0 / 364 MB, free: 7.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.09542, allocations: 4 kB / 364 MB, free: 7.809 MB / 302.1 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.107e-05/0.0955, allocations: 103.2 kB / 364.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.09562, allocations: 19.98 kB / 364.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.09563, allocations: 0 / 364.2 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.33e-05/0.09567, allocations: 7.984 kB / 364.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.09597, allocations: 23.95 kB / 364.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.09626, allocations: 159.7 kB / 364.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.09652, allocations: 0.6956 MB / 365.1 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.737e-05/0.09655, allocations: 7.938 kB / 365.1 MB, free: 6.738 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.09658, allocations: 11.42 kB / 365.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.09659, allocations: 0 / 365.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of Templates: time 0.002355/0.09895, allocations: 0.5213 MB / 365.6 MB, free: 6.215 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches