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.0009606/0.0009606, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001456/0.001456, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.9437/0.9437, allocations: 177 MB / 205.9 MB, free: 4.461 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.273e-06/1.273e-06, allocations: 0 / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.369e-05, allocations: 2.312 kB / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002305/0.002329, allocations: 1.607 MB / 275.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007205/0.00305, allocations: 0.514 MB / 276.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.07e-05/0.00313, allocations: 9.719 kB / 276.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.065e-05/0.003181, allocations: 3.938 kB / 276.2 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.003318, allocations: 15.84 kB / 276.3 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.003555, allocations: 51.83 kB / 276.3 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.003645, allocations: 52.56 kB / 276.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.003737, allocations: 12.17 kB / 276.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.003843, allocations: 32.47 kB / 276.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.00389, allocations: 26.38 kB / 276.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.003904, allocations: 0 / 276.4 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.534e-05/0.003939, allocations: 8 kB / 276.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.862e-05/0.003978, allocations: 15.92 kB / 276.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.711e-05/0.003995, allocations: 11.94 kB / 276.5 MB, free: 1.945 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.004124, allocations: 43.83 kB / 276.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004127, allocations: 0 / 276.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004128, allocations: 1.812 kB / 276.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.004132, allocations: 0 / 276.5 MB, free: 1.902 MB / 250.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.0004373/0.004569, allocations: 416.2 kB / 276.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.004607, allocations: 8.031 kB / 276.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.004751, allocations: 25.33 kB / 276.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.004926, allocations: 149.6 kB / 277.1 MB, free: 1.258 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.004936, allocations: 384 / 277.1 MB, free: 1.258 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.004946, allocations: 8.375 kB / 277.1 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.005125, allocations: 113.6 kB / 277.2 MB, free: 1.113 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.005134, allocations: 4.172 kB / 277.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.005144, allocations: 8.125 kB / 277.2 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.00515, allocations: 0 / 277.2 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.005169, allocations: 7.938 kB / 277.2 MB, free: 1.094 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.005395, allocations: 236.1 kB / 277.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.584e-05/0.005451, allocations: 62.05 kB / 277.5 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.005474, allocations: 27.48 kB / 277.5 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.005486, allocations: 0 / 277.5 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.005509, allocations: 37.39 kB / 277.6 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.00551, allocations: 4 kB / 277.6 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001384/0.005648, allocations: 53.52 kB / 277.6 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.005692, allocations: 81.11 kB / 277.7 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.005799, allocations: 195.8 kB / 277.9 MB, free: 304 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.005809, allocations: 25.95 kB / 277.9 MB, free: 272 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.005864, allocations: 142.9 kB / 278.1 MB, free: 124 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.005878, allocations: 3.953 kB / 278.1 MB, free: 120 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.005909, allocations: 23.36 kB / 278.1 MB, free: 88 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.006053, allocations: 492.1 kB / 278.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.083e-05/0.006063, allocations: 3.938 kB / 278.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-06/0.006072, allocations: 4 kB / 278.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.431e-05/0.006096, allocations: 11.67 kB / 278.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006098, allocations: 0 / 278.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.993e-05/0.006158, allocations: 41.66 kB / 278.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.006172, allocations: 12.03 kB / 278.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.006177, allocations: 0 / 278.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.006186, allocations: 0 / 278.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.568e-05/0.006231, allocations: 4 kB / 278.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.006234, allocations: 0 / 278.7 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.12e-05/0.006255, allocations: 7.984 kB / 278.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.006259, allocations: 0 / 278.7 MB, free: 15.5 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 6.883e-05/0.006328, allocations: 156.5 kB / 278.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.006374, allocations: 37.66 kB / 278.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.006402, allocations: 23.67 kB / 278.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006404, allocations: 4.031 kB / 278.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.006405, allocations: 0 / 278.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.006408, allocations: 0 / 278.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.006535, allocations: 105.2 kB / 279 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006536, allocations: 0 / 279 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.006561, allocations: 4 kB / 279 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.006562, allocations: 0 / 279 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.006567, allocations: 4 kB / 279 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.006568, allocations: 0 / 279 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.00657, allocations: 3.938 kB / 279 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.006674, allocations: 203.5 kB / 279.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.006704, allocations: 15.94 kB / 279.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.006716, allocations: 3.984 kB / 279.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.857e-05/0.006764, allocations: 4 kB / 279.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.006787, allocations: 3.938 kB / 279.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.00679, allocations: 0 / 279.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.655e-05/0.006847, allocations: 141.8 kB / 279.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006847, allocations: 0 / 279.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.007049, allocations: 8 kB / 279.4 MB, free: 14.73 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 9.039e-05/0.00714, allocations: 99.27 kB / 279.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.345e-05/0.007203, allocations: 15.62 kB / 279.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.007205, allocations: 0 / 279.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.562e-05/0.00722, allocations: 15.67 kB / 279.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.007514, allocations: 24.16 kB / 279.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.007947, allocations: 169.4 kB / 279.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.601e-05/0.007993, allocations: 63.42 kB / 279.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.682e-05/0.00802, allocations: 7.906 kB / 279.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.008085, allocations: 78.19 kB / 279.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.008086, allocations: 0 / 279.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of Templates: time 0.002463/0.01055, allocations: 0.6157 MB / 280.4 MB, free: 13.6 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.729319723788649]