Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.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.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 101.4 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002052/0.002052, allocations: 205.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.608/1.608, allocations: 227.2 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002525/0.0002526, allocations: 8 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 51.5 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001781/0.1293, allocations: 1.184 MB / 359.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007647/0.1301, allocations: 451.3 kB / 359.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.1302, allocations: 0 / 359.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.1302, allocations: 7.938 kB / 359.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.1303, allocations: 19.95 kB / 359.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.1305, allocations: 31.84 kB / 359.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.1306, allocations: 39.92 kB / 359.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.1306, allocations: 7.984 kB / 359.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.1308, allocations: 35.84 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.205e-05/0.1309, allocations: 31.91 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1309, allocations: 4 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.995e-05/0.1309, allocations: 7.984 kB / 359.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.131, allocations: 15.88 kB / 359.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.131, allocations: 33.7 kB / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.853e-05/0.1311, allocations: 39.92 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.1311, allocations: 0 / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1311, allocations: 3.938 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1311, allocations: 0 / 360 MB, free: 12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000612/0.1317, allocations: 396 kB / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1318, allocations: 12.03 kB / 360.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.1321, allocations: 39.88 kB / 360.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.1322, allocations: 170.9 kB / 360.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1323, allocations: 7.922 kB / 360.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.1323, allocations: 7.953 kB / 360.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.1325, allocations: 96.22 kB / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1326, allocations: 0 / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1326, allocations: 0 / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1326, allocations: 0 / 360.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.1329, allocations: 79.88 kB / 360.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.1331, allocations: 191.4 kB / 360.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.1334, allocations: 115.7 kB / 361.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1334, allocations: 0 / 361.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1334, allocations: 42.58 kB / 361.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1335, allocations: 0 / 361.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005537/0.134, allocations: 169.6 kB / 361.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.1341, allocations: 102.8 kB / 361.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.1342, allocations: 126.1 kB / 361.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1342, allocations: 29.89 kB / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.1343, allocations: 92.14 kB / 361.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.1343, allocations: 11.83 kB / 361.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-06/0.1343, allocations: 4 kB / 361.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1345, allocations: 314.8 kB / 361.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.1346, allocations: 39.97 kB / 362 MB, free: 9.738 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.1348, allocations: 58.53 kB / 362 MB, free: 9.672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1349, allocations: 47.91 kB / 362.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1349, allocations: 0 / 362.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003165/0.1353, allocations: 121.5 kB / 362.2 MB, free: 9.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1353, allocations: 19.88 kB / 362.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1353, allocations: 0 / 362.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1353, allocations: 0 / 362.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.1355, allocations: 24.08 kB / 362.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.1355, allocations: 0 / 362.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.1356, allocations: 19.98 kB / 362.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1356, allocations: 4 kB / 362.3 MB, free: 9.434 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.0001015/0.1357, allocations: 109.8 kB / 362.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1357, allocations: 11.91 kB / 362.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/0.1358, allocations: 19.78 kB / 362.4 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1358, allocations: 4 kB / 362.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1358, allocations: 3.938 kB / 362.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1358, allocations: 4 kB / 362.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.136, allocations: 173.6 kB / 362.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.136, allocations: 4 kB / 362.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.1361, allocations: 23.97 kB / 362.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1361, allocations: 0 / 362.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1361, allocations: 0 / 362.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1361, allocations: 7.891 kB / 362.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1361, allocations: 8 kB / 362.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1365, allocations: 182.1 kB / 362.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.1366, allocations: 84.97 kB / 362.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1366, allocations: 4 kB / 362.9 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.1367, allocations: 16.12 kB / 362.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.1368, allocations: 11.97 kB / 362.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1368, allocations: 8 kB / 362.9 MB, free: 8.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.149e-05/0.1368, allocations: 97.59 kB / 363 MB, free: 8.559 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1369, allocations: 4 kB / 363 MB, free: 8.555 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001903/0.1371, allocations: 8 kB / 363 MB, free: 8.547 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.0001316/0.1372, allocations: 95.25 kB / 363.1 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.1375, allocations: 87.92 kB / 363.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1375, allocations: 8.125 kB / 363.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.1377, allocations: 39.97 kB / 363.2 MB, free: 8.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.1378, allocations: 11.94 kB / 363.3 MB, free: 8.301 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.1383, allocations: 224.2 kB / 363.5 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1386, allocations: 0.6887 MB / 364.2 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.634e-05/0.1386, allocations: 4 kB / 364.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.1387, allocations: 15.42 kB / 364.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1387, allocations: 0 / 364.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of Templates: time 0.002562/0.1413, allocations: 0.4921 MB / 364.7 MB, free: 6.824 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches