Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.0009816/0.0009816, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.0009702/0.0009702, allocations: 160.5 kB / 24.56 MB, free: 12 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.952/0.952, allocations: 177 MB / 204.8 MB, free: 5.223 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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 272.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.126e-05, allocations: 9.203 kB / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002391/0.002422, allocations: 1.638 MB / 274.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007401/0.003162, allocations: 0.5297 MB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.00324, allocations: 3.938 kB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.884e-05/0.003289, allocations: 7.938 kB / 275.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.003434, allocations: 11.86 kB / 275.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.003727, allocations: 63.73 kB / 275.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.706e-05/0.003824, allocations: 47.8 kB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.003917, allocations: 20.09 kB / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.004039, allocations: 35.86 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.625e-05/0.004085, allocations: 11.98 kB / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.004102, allocations: 4 kB / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.851e-05/0.00414, allocations: 11.98 kB / 275.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.213e-05/0.004182, allocations: 15.92 kB / 275.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.004207, allocations: 11.94 kB / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.00434, allocations: 43.83 kB / 275.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.004344, allocations: 7.984 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004345, allocations: 0 / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.00435, allocations: 0 / 275.4 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.0003747/0.004724, allocations: 404.2 kB / 275.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.004761, allocations: 19.98 kB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.004877, allocations: 12.89 kB / 275.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.005044, allocations: 160.9 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.005054, allocations: 4.375 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.005064, allocations: 4.375 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.005281, allocations: 137 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.005288, allocations: 4 kB / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.005297, allocations: 0 / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.005304, allocations: 0 / 276.1 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.005329, allocations: 15.92 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.005577, allocations: 275.2 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.131e-05/0.005648, allocations: 89.12 kB / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.005681, allocations: 39.17 kB / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.005698, allocations: 0 / 276.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.00572, allocations: 45.33 kB / 276.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.00572, allocations: 0 / 276.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001531/0.005874, allocations: 61.58 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.005918, allocations: 106.8 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.006013, allocations: 201.3 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.006022, allocations: 29.7 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.006072, allocations: 130.9 kB / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.006086, allocations: 0 / 277.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.006119, allocations: 31.69 kB / 277.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.006237, allocations: 0.4922 MB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.00625, allocations: 3.938 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-06/0.006257, allocations: 0 / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.006286, allocations: 15.62 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.006289, allocations: 0 / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.255e-05/0.006341, allocations: 41.69 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.006354, allocations: 4 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.006358, allocations: 0 / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.006373, allocations: 0 / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.006442, allocations: 12.09 kB / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.006447, allocations: 0 / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.006462, allocations: 3.938 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.006469, allocations: 3.984 kB / 277.7 MB, free: 12.23 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 7.257e-05/0.006541, allocations: 160.5 kB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.006592, allocations: 45.66 kB / 277.9 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.006621, allocations: 15.95 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.006624, allocations: 0 / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.006627, allocations: 0 / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.00663, allocations: 4.062 kB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.006732, allocations: 136.5 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.006734, allocations: 7.938 kB / 278.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.00677, allocations: 7.984 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.006774, allocations: 4 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.006782, allocations: 0 / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.006784, allocations: 0 / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006785, allocations: 0 / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.006895, allocations: 223.2 kB / 278.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.006926, allocations: 19.89 kB / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.006939, allocations: 0 / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/0.006993, allocations: 11.98 kB / 278.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.007023, allocations: 0 / 278.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.007028, allocations: 4 kB / 278.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.346e-05/0.007102, allocations: 143.2 kB / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007102, allocations: 0 / 278.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.007344, allocations: 8 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.277e-05/0.007437, allocations: 99.17 kB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.001e-05/0.007527, allocations: 19.69 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.007529, allocations: 4.062 kB / 278.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.007544, allocations: 11.62 kB / 278.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.007791, allocations: 32.78 kB / 278.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.008229, allocations: 196.3 kB / 278.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.008268, allocations: 59.34 kB / 278.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.299e-05/0.008291, allocations: 7.984 kB / 278.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.008317, allocations: 12.75 kB / 278.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.008318, allocations: 0 / 278.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of Templates: time 0.002454/0.01077, allocations: 0.6627 MB / 279.6 MB, free: 10.21 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.793988595250994]