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.001149/0.001149, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001153/0.001153, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 56.72 kB / 308.3 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002792/0.1301, allocations: 1.503 MB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008952/0.131, allocations: 0.5003 MB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.1311, allocations: 0 / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.921e-05/0.1312, allocations: 7.938 kB / 360.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.1313, allocations: 23.78 kB / 360.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.1315, allocations: 35.91 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1316, allocations: 71.7 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.85e-05/0.1317, allocations: 8.172 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.1319, allocations: 39.84 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.132, allocations: 39.83 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.132, allocations: 4 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.024e-05/0.1321, allocations: 12 kB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.1321, allocations: 7.984 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.1322, allocations: 31.8 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.1323, allocations: 59.8 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1323, allocations: 0 / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1323, allocations: 3.938 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1323, allocations: 0 / 361.2 MB, free: 11 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.00066/0.133, allocations: 399.1 kB / 361.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.133, allocations: 8.031 kB / 361.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.1334, allocations: 32.81 kB / 361.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.1336, allocations: 184.2 kB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.1336, allocations: 384 / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1337, allocations: 4.375 kB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.1339, allocations: 96.33 kB / 361.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1339, allocations: 0 / 361.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1339, allocations: 0 / 361.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.134, allocations: 3.938 kB / 361.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.1342, allocations: 63.92 kB / 362 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.1344, allocations: 191.4 kB / 362.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.1347, allocations: 103.8 kB / 362.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1348, allocations: 46.55 kB / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1349, allocations: 4 kB / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1349, allocations: 42.38 kB / 362.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1349, allocations: 0 / 362.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000492/0.1354, allocations: 141.5 kB / 362.5 MB, free: 9.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.1355, allocations: 102.8 kB / 362.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.1356, allocations: 132.5 kB / 362.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1356, allocations: 26.08 kB / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.1356, allocations: 100.1 kB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1357, allocations: 11.84 kB / 362.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.1357, allocations: 17.7 kB / 362.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1359, allocations: 318.8 kB / 363.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.136, allocations: 27.97 kB / 363.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.1361, allocations: 54.53 kB / 363.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.1364, allocations: 78.52 kB / 363.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1364, allocations: 3.938 kB / 363.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003014/0.1367, allocations: 129.3 kB / 363.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1367, allocations: 4 kB / 363.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1367, allocations: 0 / 363.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1367, allocations: 4 kB / 363.5 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.1369, allocations: 15.98 kB / 363.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1369, allocations: 4.094 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.137, allocations: 15.92 kB / 363.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.137, allocations: 7.969 kB / 363.5 MB, free: 8.387 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 9.003e-05/0.1371, allocations: 117.8 kB / 363.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.1372, allocations: 11.84 kB / 363.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.1372, allocations: 15.83 kB / 363.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1372, allocations: 0 / 363.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1372, allocations: 0 / 363.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1372, allocations: 8 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.1374, allocations: 173.6 kB / 363.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1374, allocations: 3.938 kB / 363.9 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.1375, allocations: 15.98 kB / 363.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1375, allocations: 4 kB / 363.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.1375, allocations: 3.938 kB / 363.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1375, allocations: 3.984 kB / 363.9 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1375, allocations: 4 kB / 363.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.1379, allocations: 142.7 kB / 364 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.1379, allocations: 84.95 kB / 364.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1379, allocations: 4 kB / 364.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.326e-05/0.138, allocations: 11.98 kB / 364.1 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.1381, allocations: 7.984 kB / 364.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1381, allocations: 4 kB / 364.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.106e-05/0.1382, allocations: 103.2 kB / 364.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1382, allocations: 3.938 kB / 364.3 MB, free: 7.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.1384, allocations: 8 kB / 364.3 MB, free: 7.562 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.0001042/0.1385, allocations: 99.25 kB / 364.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.1388, allocations: 75.86 kB / 364.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1388, allocations: 0 / 364.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.139, allocations: 35.97 kB / 364.5 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.1392, allocations: 8.078 kB / 364.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.1397, allocations: 212.9 kB / 364.7 MB, free: 7.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1399, allocations: 0.6885 MB / 365.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.14, allocations: 7.984 kB / 365.4 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.14, allocations: 11.44 kB / 365.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.14, allocations: 0 / 365.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of Templates: time 0.002751/0.1428, allocations: 0.6122 MB / 366 MB, free: 5.762 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 -s cvode -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.0.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