Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001464, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.477/1.477, allocations: 227.7 MB / 247.4 MB, free: 10.54 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001989, allocations: 58.69 kB / 307.4 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1251, allocations: 50.54 MB / 357.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003174/0.1283, allocations: 1.648 MB / 359.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009981/0.1293, allocations: 0.5338 MB / 360.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.1294, allocations: 7.875 kB / 360.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.976e-05/0.1295, allocations: 0 / 360.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.1297, allocations: 11.92 kB / 360.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.13, allocations: 51.89 kB / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.929e-05/0.1301, allocations: 43.86 kB / 360.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1302, allocations: 24.14 kB / 360.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1303, allocations: 39.8 kB / 360.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.854e-05/0.1304, allocations: 15.92 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.1304, allocations: 4 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.1305, allocations: 4 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.1305, allocations: 19.91 kB / 360.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.1306, allocations: 31.75 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.1307, allocations: 39.89 kB / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1307, allocations: 0 / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1307, allocations: 0 / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1307, allocations: 0 / 360.4 MB, free: 11.79 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.0005529/0.1313, allocations: 391.3 kB / 360.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1313, allocations: 8.031 kB / 360.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.1315, allocations: 20.83 kB / 360.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1317, allocations: 198.9 kB / 361 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.1317, allocations: 384 / 361 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1318, allocations: 7.938 kB / 361 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.1321, allocations: 113.9 kB / 361.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1321, allocations: 4 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.1321, allocations: 0 / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1321, allocations: 3.938 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.417e-05/0.1322, allocations: 23.92 kB / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.1326, allocations: 282.5 kB / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1327, allocations: 67.84 kB / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.982e-05/0.1328, allocations: 34.56 kB / 361.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.1328, allocations: 3.984 kB / 361.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1329, allocations: 34.56 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1329, allocations: 3.938 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002676/0.1331, allocations: 85.89 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/0.1332, allocations: 110.8 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1334, allocations: 147.4 kB / 361.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.1334, allocations: 25.7 kB / 361.9 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.1335, allocations: 100 kB / 362 MB, free: 9.898 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.1335, allocations: 0 / 362 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1336, allocations: 17.72 kB / 362 MB, free: 9.875 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1338, allocations: 322.8 kB / 362.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.1338, allocations: 8 kB / 362.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.1339, allocations: 39.36 kB / 362.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.961e-05/0.134, allocations: 43.42 kB / 362.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.134, allocations: 0 / 362.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001483/0.1342, allocations: 73.45 kB / 362.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1342, allocations: 8 kB / 362.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1342, allocations: 0 / 362.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1342, allocations: 0 / 362.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.808e-05/0.1343, allocations: 8 kB / 362.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1343, allocations: 4.125 kB / 362.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.1344, allocations: 15.92 kB / 362.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1344, allocations: 4 kB / 362.6 MB, free: 9.32 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.1345, allocations: 117.8 kB / 362.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.1346, allocations: 57.61 kB / 362.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.1347, allocations: 11.88 kB / 362.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.1347, allocations: 4 kB / 362.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1347, allocations: 4 kB / 362.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1347, allocations: 8 kB / 362.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1349, allocations: 173.6 kB / 362.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.135, allocations: 0 / 362.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.135, allocations: 15.88 kB / 362.9 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.135, allocations: 0 / 362.9 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.135, allocations: 3.984 kB / 363 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1351, allocations: 4 kB / 363 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1351, allocations: 0 / 363 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1353, allocations: 181.1 kB / 363.1 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.1354, allocations: 89 kB / 363.2 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1354, allocations: 4 kB / 363.2 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.1355, allocations: 4 kB / 363.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.1355, allocations: 7.938 kB / 363.2 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1355, allocations: 0 / 363.2 MB, free: 8.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.954e-05/0.1356, allocations: 116.3 kB / 363.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1356, allocations: 4 kB / 363.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.1359, allocations: 4 kB / 363.4 MB, free: 8.418 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001316/0.136, allocations: 99.23 kB / 363.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.1362, allocations: 35.92 kB / 363.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1362, allocations: 0 / 363.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.1362, allocations: 8.25 kB / 363.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.1366, allocations: 24.08 kB / 363.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.1371, allocations: 242 kB / 363.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.1375, allocations: 0.6963 MB / 364.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.1375, allocations: 11.44 kB / 364.5 MB, free: 7.238 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1375, allocations: 0 / 364.5 MB, free: 7.238 MB / 302.1 MB Notification: Performance of Templates: time 0.002655/0.1402, allocations: 0.8434 MB / 365.3 MB, free: 6.406 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches