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) 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.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 97.55 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001576, allocations: 206.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002996, allocations: 4 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1498, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.00202/0.1519, allocations: 1.285 MB / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008712/0.1527, allocations: 491.1 kB / 359.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1529, allocations: 0 / 359.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.671e-05/0.1529, allocations: 3.938 kB / 359.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.1531, allocations: 7.984 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.1535, allocations: 55.81 kB / 359.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.1536, allocations: 31.97 kB / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.1537, allocations: 16.16 kB / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1539, allocations: 23.91 kB / 360 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.541e-05/0.154, allocations: 19.86 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.154, allocations: 0 / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.788e-05/0.1541, allocations: 7.938 kB / 360 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.1541, allocations: 19.86 kB / 360 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.1542, allocations: 33.7 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1543, allocations: 43.92 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1543, allocations: 0 / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.1543, allocations: 3.938 kB / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1544, allocations: 0 / 360.1 MB, free: 11.88 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.0005993/0.155, allocations: 369.9 kB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.746e-05/0.155, allocations: 8.031 kB / 360.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.1552, allocations: 19.89 kB / 360.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1555, allocations: 194.9 kB / 360.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1556, allocations: 3.953 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.1556, allocations: 4 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.1559, allocations: 113.9 kB / 360.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.156, allocations: 0 / 360.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.156, allocations: 4 kB / 360.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.156, allocations: 0 / 360.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.611e-05/0.1561, allocations: 35.86 kB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.1566, allocations: 274.6 kB / 361.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1567, allocations: 71.78 kB / 361.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.1568, allocations: 4.062 kB / 361.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1568, allocations: 38.5 kB / 361.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1568, allocations: 0 / 361.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000333/0.1572, allocations: 85.52 kB / 361.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/0.1573, allocations: 115.2 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.1574, allocations: 141.8 kB / 361.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1575, allocations: 25.7 kB / 361.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.1576, allocations: 92.12 kB / 361.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.1576, allocations: 7.906 kB / 361.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.1576, allocations: 0 / 361.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1578, allocations: 318.8 kB / 362 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.1578, allocations: 11.98 kB / 362 MB, free: 9.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.1579, allocations: 43.42 kB / 362 MB, free: 9.672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.1579, allocations: 8 kB / 362 MB, free: 9.664 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.158, allocations: 0 / 362 MB, free: 9.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000158/0.1581, allocations: 85.45 kB / 362.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1581, allocations: 4 kB / 362.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.1582, allocations: 4 kB / 362.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1582, allocations: 0 / 362.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.1583, allocations: 8 kB / 362.1 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.1583, allocations: 3.984 kB / 362.1 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.1583, allocations: 4 kB / 362.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1584, allocations: 8.062 kB / 362.2 MB, free: 9.543 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.1585, allocations: 124.4 kB / 362.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.239e-05/0.1586, allocations: 53.53 kB / 362.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.1586, allocations: 15.83 kB / 362.3 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1586, allocations: 4 kB / 362.3 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1587, allocations: 0 / 362.3 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1587, allocations: 3.984 kB / 362.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.1589, allocations: 173.6 kB / 362.5 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1589, allocations: 0 / 362.5 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.159, allocations: 12.06 kB / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.159, allocations: 0 / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.159, allocations: 11.92 kB / 362.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.159, allocations: 4 kB / 362.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.159, allocations: 0 / 362.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.1592, allocations: 208.5 kB / 362.8 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.1593, allocations: 97.14 kB / 362.8 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1594, allocations: 0 / 362.8 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.1594, allocations: 7.984 kB / 362.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.1595, allocations: 0 / 362.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1595, allocations: 7.984 kB / 362.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.46e-05/0.1596, allocations: 111.2 kB / 363 MB, free: 8.605 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1596, allocations: 0 / 363 MB, free: 8.605 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.1598, allocations: 8 kB / 363 MB, free: 8.598 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001397/0.16, allocations: 95.25 kB / 363.1 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.1601, allocations: 40.09 kB / 363.1 MB, free: 8.457 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1601, allocations: 4.062 kB / 363.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.1602, allocations: 11.94 kB / 363.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1605, allocations: 24.02 kB / 363.1 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.161, allocations: 202.8 kB / 363.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.1614, allocations: 0.6926 MB / 364 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.829e-05/0.1614, allocations: 11.92 kB / 364.1 MB, free: 7.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.1615, allocations: 7.438 kB / 364.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1615, allocations: 3.938 kB / 364.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of Templates: time 0.003247/0.1647, allocations: 0.5226 MB / 364.6 MB, free: 6.93 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches