Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 47.92 kB / 373.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.125, allocations: 53.33 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002761/0.1278, allocations: 1.519 MB / 428.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008855/0.1287, allocations: 0.4948 MB / 428.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.1287, allocations: 0 / 428.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.1288, allocations: 3.938 kB / 428.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.1289, allocations: 31.78 kB / 428.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.1291, allocations: 35.89 kB / 428.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.1292, allocations: 63.78 kB / 428.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.1293, allocations: 4.172 kB / 428.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.1295, allocations: 43.8 kB / 429 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.385e-05/0.1296, allocations: 31.89 kB / 429 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1296, allocations: 4 kB / 429 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.1296, allocations: 12 kB / 429 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.1297, allocations: 19.92 kB / 429.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.1297, allocations: 23.86 kB / 429.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1299, allocations: 71.61 kB / 429.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1299, allocations: 0 / 429.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1299, allocations: 0 / 429.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1299, allocations: 0 / 429.1 MB, free: 1.91 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.00072/0.1306, allocations: 395.1 kB / 429.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1306, allocations: 8.031 kB / 429.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003386/0.131, allocations: 36.86 kB / 429.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1312, allocations: 188.2 kB / 429.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-06/0.1312, allocations: 4.312 kB / 429.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1312, allocations: 4.359 kB / 429.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.1315, allocations: 96.34 kB / 429.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1315, allocations: 3.938 kB / 429.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.1315, allocations: 3.984 kB / 429.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1315, allocations: 0 / 429.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.1318, allocations: 59.94 kB / 429.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.1321, allocations: 187.5 kB / 430.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.1324, allocations: 95.75 kB / 430.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.1325, allocations: 50.61 kB / 430.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1325, allocations: 3.938 kB / 430.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1326, allocations: 42.5 kB / 430.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1326, allocations: 0 / 430.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005829/0.1332, allocations: 137.6 kB / 430.4 MB, free: 424 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.1332, allocations: 106.8 kB / 430.5 MB, free: 292 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1334, allocations: 132 kB / 430.7 MB, free: 152 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1334, allocations: 29.64 kB / 430.7 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.1334, allocations: 96.12 kB / 430.8 MB, free: 16 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.1335, allocations: 8.188 kB / 430.8 MB, free: 8 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.12e-05/0.1335, allocations: 25.7 kB / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1337, allocations: 318.8 kB / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.1338, allocations: 31.97 kB / 431.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.134, allocations: 46.53 kB / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.1343, allocations: 90.45 kB / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1343, allocations: 0 / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003625/0.1346, allocations: 113.5 kB / 431.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1346, allocations: 8 kB / 431.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1347, allocations: 0 / 431.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1347, allocations: 0 / 431.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1348, allocations: 15.98 kB / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.1348, allocations: 4 kB / 431.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1349, allocations: 7.984 kB / 431.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1349, allocations: 12.08 kB / 431.5 MB, free: 15.31 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 9.351e-05/0.135, allocations: 113.8 kB / 431.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.1351, allocations: 15.83 kB / 431.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.1351, allocations: 7.875 kB / 431.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1351, allocations: 7.938 kB / 431.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1351, allocations: 0 / 431.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1351, allocations: 0 / 431.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.1353, allocations: 185.6 kB / 431.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1353, allocations: 3.938 kB / 431.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.1354, allocations: 23.92 kB / 431.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1354, allocations: 0 / 431.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1354, allocations: 11.98 kB / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1354, allocations: 0 / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1354, allocations: 3.984 kB / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.1358, allocations: 138.7 kB / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.1359, allocations: 93.08 kB / 432 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1359, allocations: 4 kB / 432.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.136, allocations: 11.98 kB / 432.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.136, allocations: 15.91 kB / 432.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.1361, allocations: 0 / 432.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.329e-05/0.1361, allocations: 109.8 kB / 432.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1361, allocations: 0 / 432.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1363, allocations: 8 kB / 432.2 MB, free: 14.46 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.0001156/0.1365, allocations: 95.77 kB / 432.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003793/0.1368, allocations: 71.88 kB / 432.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1368, allocations: 8.188 kB / 432.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.137, allocations: 31.97 kB / 432.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.1372, allocations: 11.92 kB / 432.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.1377, allocations: 196.9 kB / 432.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1381, allocations: 0.6846 MB / 433.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.599e-05/0.1381, allocations: 4 kB / 433.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.1381, allocations: 15.42 kB / 433.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1381, allocations: 0 / 433.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Templates: time 0.003392/0.1415, allocations: 0.6136 MB / 433.9 MB, free: 12.67 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.731322590261698]