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.001672/0.001672, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 217.7 kB / 18.92 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002476/0.002476, allocations: 63.7 kB / 307.1 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1357, allocations: 50.53 MB / 357.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002943/0.1387, allocations: 1.574 MB / 359.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1397, allocations: 0.491 MB / 359.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.1398, allocations: 0 / 359.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.203e-05/0.1399, allocations: 7.922 kB / 359.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.14, allocations: 15.88 kB / 359.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.1402, allocations: 35.95 kB / 359.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.1404, allocations: 71.66 kB / 359.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.539e-05/0.1404, allocations: 8.172 kB / 359.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.1406, allocations: 43.83 kB / 359.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.1407, allocations: 35.84 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1408, allocations: 8 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.1408, allocations: 8 kB / 360 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.1408, allocations: 11.97 kB / 360 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.1409, allocations: 31.8 kB / 360 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.141, allocations: 39.94 kB / 360 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.141, allocations: 0 / 360 MB, free: 12.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.141, allocations: 0 / 360 MB, free: 12.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1411, allocations: 4 kB / 360 MB, free: 12.01 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.0007511/0.1418, allocations: 395.4 kB / 360.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1419, allocations: 8.031 kB / 360.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003206/0.1422, allocations: 32.81 kB / 360.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.1424, allocations: 180.2 kB / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1424, allocations: 384 / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.1424, allocations: 384 / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.1427, allocations: 100.3 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1427, allocations: 0 / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1428, allocations: 3.938 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.1428, allocations: 0 / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.143, allocations: 63.92 kB / 360.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.1433, allocations: 199.3 kB / 361 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.1436, allocations: 99.75 kB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.1437, allocations: 46.61 kB / 361.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1438, allocations: 8 kB / 361.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1438, allocations: 34.5 kB / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1438, allocations: 0 / 361.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005489/0.1444, allocations: 141.5 kB / 361.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.1444, allocations: 106.8 kB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.1446, allocations: 132.2 kB / 361.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1446, allocations: 29.64 kB / 361.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.1447, allocations: 96.5 kB / 361.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.1447, allocations: 15.91 kB / 361.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.1448, allocations: 13.7 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1449, allocations: 318.8 kB / 362 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1451, allocations: 27.97 kB / 362.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.1452, allocations: 54.53 kB / 362.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.1455, allocations: 82.45 kB / 362.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1455, allocations: 0 / 362.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003292/0.1459, allocations: 113.4 kB / 362.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1459, allocations: 7.984 kB / 362.3 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1459, allocations: 0 / 362.3 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1459, allocations: 4 kB / 362.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1461, allocations: 19.98 kB / 362.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1461, allocations: 0 / 362.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1462, allocations: 24.02 kB / 362.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1462, allocations: 4 kB / 362.4 MB, free: 9.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.1463, allocations: 117.8 kB / 362.5 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.1463, allocations: 11.84 kB / 362.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.1464, allocations: 15.83 kB / 362.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1464, allocations: 0 / 362.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1464, allocations: 0 / 362.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1464, allocations: 3.938 kB / 362.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1466, allocations: 177.6 kB / 362.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.1466, allocations: 7.938 kB / 362.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.1467, allocations: 19.97 kB / 362.7 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1467, allocations: 4 kB / 362.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1467, allocations: 0 / 362.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1467, allocations: 0 / 362.7 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1468, allocations: 4 kB / 362.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003622/0.1471, allocations: 154.5 kB / 362.9 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.1472, allocations: 84.95 kB / 362.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.1472, allocations: 4 kB / 362.9 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.1473, allocations: 11.98 kB / 363 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.1474, allocations: 3.984 kB / 363 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1474, allocations: 8 kB / 363 MB, free: 8.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.961e-05/0.1475, allocations: 103.2 kB / 363.1 MB, free: 8.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1475, allocations: 0 / 363.1 MB, free: 8.586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000198/0.1477, allocations: 8 kB / 363.1 MB, free: 8.578 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.0001196/0.1478, allocations: 95.25 kB / 363.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.1482, allocations: 83.92 kB / 363.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1482, allocations: 0 / 363.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.1483, allocations: 39.91 kB / 363.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.1485, allocations: 7.938 kB / 363.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.1491, allocations: 234.7 kB / 363.5 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1494, allocations: 0.6885 MB / 364.2 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.1495, allocations: 7.438 kB / 364.2 MB, free: 7.359 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1495, allocations: 0 / 364.2 MB, free: 7.359 MB / 302.1 MB Notification: Performance of Templates: time 0.00262/0.1521, allocations: 0.9009 MB / 365.1 MB, free: 6.461 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches