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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 118.6 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001418/0.001418, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.665/1.665, allocations: 230.2 MB / 254.5 MB, free: 15.43 MB / 206.1 MB " [Timeout remaining time 178] 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=10000,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=10000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.89 kB / 373.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1351, allocations: 53.31 MB / 427.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003098/0.1382, allocations: 1.525 MB / 428.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1392, allocations: 0.4948 MB / 429.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.782e-05/0.1393, allocations: 0 / 429.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.1393, allocations: 3.938 kB / 429.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.1394, allocations: 27.78 kB / 429.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1397, allocations: 31.91 kB / 429.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1398, allocations: 75.7 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.1399, allocations: 192 / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.1401, allocations: 43.84 kB / 429.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.1402, allocations: 35.83 kB / 429.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1402, allocations: 4 kB / 429.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.9e-05/0.1402, allocations: 12 kB / 429.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.1403, allocations: 15.92 kB / 429.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.1403, allocations: 27.86 kB / 429.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1405, allocations: 63.73 kB / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1405, allocations: 0 / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1405, allocations: 0 / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1405, allocations: 0 / 429.5 MB, free: 2.188 MB / 350.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.0007887/0.1413, allocations: 395.1 kB / 429.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1413, allocations: 8.031 kB / 429.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003581/0.1417, allocations: 36.86 kB / 429.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.1419, allocations: 196.1 kB / 430.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1419, allocations: 384 / 430.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.142, allocations: 384 / 430.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.1423, allocations: 92.28 kB / 430.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1423, allocations: 3.984 kB / 430.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.1423, allocations: 11.98 kB / 430.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1423, allocations: 0 / 430.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.1426, allocations: 55.94 kB / 430.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.1428, allocations: 191.4 kB / 430.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.1431, allocations: 99.75 kB / 430.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.1433, allocations: 46.61 kB / 430.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.1433, allocations: 4 kB / 430.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.1433, allocations: 38.5 kB / 430.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1433, allocations: 0 / 430.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005482/0.1439, allocations: 141.8 kB / 430.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.144, allocations: 106.8 kB / 430.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1441, allocations: 136 kB / 431 MB, free: 428 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1441, allocations: 25.7 kB / 431 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.1442, allocations: 92.12 kB / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.1442, allocations: 11.91 kB / 431.1 MB, free: 288 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.1443, allocations: 21.7 kB / 431.2 MB, free: 260 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1444, allocations: 322.9 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.1446, allocations: 27.97 kB / 431.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1447, allocations: 50.53 kB / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.145, allocations: 86.45 kB / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.145, allocations: 4 kB / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003256/0.1453, allocations: 113.5 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1453, allocations: 4 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1454, allocations: 4 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1454, allocations: 0 / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1455, allocations: 15.98 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1455, allocations: 0 / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.36e-05/0.1456, allocations: 11.98 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1456, allocations: 7.984 kB / 431.8 MB, free: 15.59 MB / 366.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.0001111/0.1457, allocations: 113.9 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.1458, allocations: 11.89 kB / 431.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.1458, allocations: 15.81 kB / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1458, allocations: 0 / 431.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1458, allocations: 7.938 kB / 431.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1458, allocations: 0 / 431.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.146, allocations: 177.6 kB / 432.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.146, allocations: 7.938 kB / 432.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1461, allocations: 23.92 kB / 432.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1461, allocations: 4 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1461, allocations: 3.984 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.1461, allocations: 4 kB / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1461, allocations: 0 / 432.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.1465, allocations: 142.7 kB / 432.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.1466, allocations: 92.94 kB / 432.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1466, allocations: 4 kB / 432.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.1467, allocations: 11.98 kB / 432.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.1467, allocations: 7.984 kB / 432.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1467, allocations: 0 / 432.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.129e-05/0.1468, allocations: 99.27 kB / 432.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1468, allocations: 4 kB / 432.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002014/0.147, allocations: 12 kB / 432.5 MB, free: 14.75 MB / 366.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.0001376/0.1472, allocations: 95.23 kB / 432.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.1475, allocations: 71.88 kB / 432.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1475, allocations: 192 / 432.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.1477, allocations: 43.91 kB / 432.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.1479, allocations: 10.11 kB / 432.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.1485, allocations: 192.8 kB / 432.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.1489, allocations: 0.6926 MB / 433.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.956e-05/0.1489, allocations: 8.125 kB / 433.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.149, allocations: 11.42 kB / 433.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.149, allocations: 0 / 433.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of Templates: time 0.003899/0.1529, allocations: 0.628 MB / 434.3 MB, free: 12.94 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.92194492649287]