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.001696/0.001696, allocations: 115.1 kB / 17.33 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001687/0.001687, allocations: 209.8 kB / 18.27 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.4 MB / 246.5 MB, free: 9.066 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.59 kB / 306.5 MB, free: 0.6914 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.136, allocations: 50.53 MB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.0033/0.1394, allocations: 1.566 MB / 358.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1406, allocations: 0.491 MB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.555e-05/0.1407, allocations: 3.938 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/0.1407, allocations: 3.984 kB / 359.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.1408, allocations: 15.86 kB / 359.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1411, allocations: 39.89 kB / 359.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1412, allocations: 71.72 kB / 359.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.167e-05/0.1413, allocations: 12.17 kB / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.1415, allocations: 35.84 kB / 359.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.1416, allocations: 39.83 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1416, allocations: 4 kB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.388e-05/0.1417, allocations: 12 kB / 359.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.1417, allocations: 7.984 kB / 359.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.1417, allocations: 31.8 kB / 359.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1419, allocations: 59.8 kB / 359.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1419, allocations: 0 / 359.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1419, allocations: 0 / 359.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1419, allocations: 4 kB / 359.4 MB, free: 11.75 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.0007228/0.1427, allocations: 394 kB / 359.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1427, allocations: 12.03 kB / 359.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003236/0.143, allocations: 32.81 kB / 359.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.1432, allocations: 184.2 kB / 360 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1433, allocations: 4.375 kB / 360 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.1433, allocations: 8.312 kB / 360 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.1436, allocations: 88.34 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1436, allocations: 3.984 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1436, allocations: 0 / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.1436, allocations: 0 / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.1439, allocations: 67.88 kB / 360.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.1441, allocations: 187.4 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.1444, allocations: 107.7 kB / 360.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.1446, allocations: 46.61 kB / 360.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.1446, allocations: 3.938 kB / 360.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.1447, allocations: 42.5 kB / 360.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1447, allocations: 0 / 360.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005458/0.1452, allocations: 141.5 kB / 360.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.1453, allocations: 107.2 kB / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1455, allocations: 140.5 kB / 361 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1455, allocations: 25.7 kB / 361 MB, free: 9.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.1456, allocations: 88.14 kB / 361.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.1456, allocations: 11.89 kB / 361.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.1456, allocations: 17.72 kB / 361.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1458, allocations: 314.8 kB / 361.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1459, allocations: 35.97 kB / 361.4 MB, free: 9.473 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1461, allocations: 46.55 kB / 361.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.1464, allocations: 82.45 kB / 361.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1464, allocations: 4 kB / 361.6 MB, free: 9.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003254/0.1467, allocations: 113.4 kB / 361.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1467, allocations: 7.938 kB / 361.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1468, allocations: 8 kB / 361.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1468, allocations: 4.094 kB / 361.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.1469, allocations: 19.97 kB / 361.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1469, allocations: 0 / 361.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.1471, allocations: 19.86 kB / 361.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.1471, allocations: 0 / 361.7 MB, free: 9.148 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.292e-05/0.1472, allocations: 113.8 kB / 361.8 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.1472, allocations: 15.83 kB / 361.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.1473, allocations: 19.83 kB / 361.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1473, allocations: 0 / 361.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1473, allocations: 4 kB / 361.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1473, allocations: 0 / 361.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.1475, allocations: 177.6 kB / 362.1 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.1475, allocations: 7.938 kB / 362.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1476, allocations: 19.97 kB / 362.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1476, allocations: 0 / 362.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1476, allocations: 0 / 362.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1476, allocations: 4 kB / 362.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1476, allocations: 4 kB / 362.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.148, allocations: 142.6 kB / 362.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.1481, allocations: 88.95 kB / 362.3 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1481, allocations: 4 kB / 362.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.1482, allocations: 11.98 kB / 362.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.1483, allocations: 8 kB / 362.3 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1483, allocations: 3.984 kB / 362.3 MB, free: 8.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.21e-05/0.1484, allocations: 103.2 kB / 362.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1484, allocations: 0 / 362.4 MB, free: 8.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002056/0.1486, allocations: 12 kB / 362.5 MB, free: 8.316 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.0001343/0.1487, allocations: 95.25 kB / 362.6 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.1491, allocations: 75.86 kB / 362.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1491, allocations: 0 / 362.6 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1492, allocations: 44.22 kB / 362.7 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.1494, allocations: 8 kB / 362.7 MB, free: 8.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005634/0.15, allocations: 204.7 kB / 362.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1504, allocations: 0.6962 MB / 363.6 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.676e-05/0.1504, allocations: 8.062 kB / 363.6 MB, free: 7.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.1505, allocations: 11.44 kB / 363.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1505, allocations: 0 / 363.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of Templates: time 0.003043/0.1535, allocations: 0.5374 MB / 364.1 MB, free: 6.582 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.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches