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.001806/0.001813, allocations: 120.8 kB / 18.45 MB, free: 4.594 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.00233/0.00233, allocations: 209 kB / 21.41 MB, free: 1.645 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.5/1.5, allocations: 227.4 MB / 251.6 MB, free: 276 kB / 190.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.001861/0.001862, allocations: 63.89 kB / 365.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1298, allocations: 50.56 MB / 416 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002717/0.1325, allocations: 1.505 MB / 417.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.1335, allocations: 0.4909 MB / 418 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.1335, allocations: 4 kB / 418 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.1336, allocations: 3.938 kB / 418 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.969e-05/0.1337, allocations: 23.78 kB / 418.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.1339, allocations: 39.83 kB / 418.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.1341, allocations: 67.72 kB / 418.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.403e-05/0.1341, allocations: 8.172 kB / 418.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.1343, allocations: 39.86 kB / 418.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.567e-05/0.1344, allocations: 39.89 kB / 418.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1344, allocations: 4 kB / 418.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.195e-05/0.1345, allocations: 11.98 kB / 418.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.1345, allocations: 11.88 kB / 418.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.1346, allocations: 27.86 kB / 418.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1347, allocations: 63.73 kB / 418.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1347, allocations: 0 / 418.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1348, allocations: 0 / 418.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1348, allocations: 0 / 418.4 MB, free: 10.89 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.0007032/0.1355, allocations: 399.1 kB / 418.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1355, allocations: 12.03 kB / 418.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003249/0.1359, allocations: 32.86 kB / 418.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.1361, allocations: 184.2 kB / 419 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1361, allocations: 12.3 kB / 419 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1361, allocations: 4.375 kB / 419 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.1364, allocations: 92.28 kB / 419.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1364, allocations: 0 / 419.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1364, allocations: 4 kB / 419.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1364, allocations: 0 / 419.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.1367, allocations: 59.94 kB / 419.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.137, allocations: 187.5 kB / 419.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.1373, allocations: 99.75 kB / 419.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.1374, allocations: 54.55 kB / 419.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.1374, allocations: 0 / 419.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.1375, allocations: 38.48 kB / 419.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1375, allocations: 4 kB / 419.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005561/0.138, allocations: 141.5 kB / 419.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.1381, allocations: 106.8 kB / 419.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1383, allocations: 132.4 kB / 419.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1383, allocations: 33.7 kB / 419.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.1384, allocations: 88.14 kB / 420 MB, free: 8.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.1384, allocations: 15.91 kB / 420 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.1384, allocations: 17.7 kB / 420 MB, free: 8.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1386, allocations: 318.8 kB / 420.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1387, allocations: 27.97 kB / 420.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.1389, allocations: 54.55 kB / 420.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.1392, allocations: 86.45 kB / 420.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1392, allocations: 4 kB / 420.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003285/0.1395, allocations: 117.4 kB / 420.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1396, allocations: 4 kB / 420.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1396, allocations: 4 kB / 420.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1396, allocations: 0 / 420.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1397, allocations: 24.06 kB / 420.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1398, allocations: 0 / 420.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.126e-05/0.1398, allocations: 11.98 kB / 420.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.1399, allocations: 4 kB / 420.7 MB, free: 8.277 MB / 350.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 8.921e-05/0.14, allocations: 109.8 kB / 420.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.14, allocations: 11.89 kB / 420.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.14, allocations: 11.88 kB / 420.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.14, allocations: 7.922 kB / 420.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1401, allocations: 8 kB / 420.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1401, allocations: 0 / 420.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.1402, allocations: 177.6 kB / 421 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.1402, allocations: 3.938 kB / 421 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.1404, allocations: 19.92 kB / 421 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1404, allocations: 0 / 421 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1404, allocations: 3.984 kB / 421 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1404, allocations: 4 kB / 421 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1404, allocations: 0 / 421 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.1408, allocations: 142.7 kB / 421.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.1408, allocations: 93.08 kB / 421.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.1409, allocations: 3.984 kB / 421.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.141, allocations: 19.92 kB / 421.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.141, allocations: 7.984 kB / 421.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.141, allocations: 4 kB / 421.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.771e-05/0.1411, allocations: 101.1 kB / 421.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1411, allocations: 0 / 421.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002008/0.1413, allocations: 12 kB / 421.4 MB, free: 7.441 MB / 350.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.0001277/0.1415, allocations: 95.25 kB / 421.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003501/0.1418, allocations: 71.88 kB / 421.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1418, allocations: 0 / 421.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.142, allocations: 39.95 kB / 421.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.1422, allocations: 9.062 kB / 421.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.1427, allocations: 197.1 kB / 421.8 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.143, allocations: 0.6885 MB / 422.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.024e-05/0.1431, allocations: 4 kB / 422.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.1431, allocations: 19.36 kB / 422.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1431, allocations: 0 / 422.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of Templates: time 0.002957/0.1461, allocations: 0.6058 MB / 423.1 MB, free: 5.656 MB / 350.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.51085065305233]