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.000776/0.000776, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.001924, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007404/0.0007404, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000961/0.001701, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.03/1.03, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1074/1.137, allocations: 53.65 MB / 243.3 MB, free: 15.56 MB / 250.7 MB " [Timeout remaining time 179] 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 1.924e-06/1.924e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.147e-05/3.339e-05, allocations: 2.312 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003517/0.003551, allocations: 1.59 MB / 246.1 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000955/0.004506, allocations: 0.507 MB / 246.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.004576, allocations: 0 / 246.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.004609, allocations: 3.938 kB / 246.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.46e-05/0.004693, allocations: 15.8 kB / 246.6 MB, free: 12.17 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.004902, allocations: 43.83 kB / 246.7 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.00507, allocations: 67.72 kB / 246.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.732e-05/0.005127, allocations: 8.125 kB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.00544, allocations: 67.75 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.005516, allocations: 31.97 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.005537, allocations: 4 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.164e-05/0.005619, allocations: 8 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.005636, allocations: 7.938 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.005665, allocations: 15.94 kB / 246.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.005815, allocations: 47.83 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.09e-05/0.005836, allocations: 0 / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005837, allocations: 0 / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.005857, allocations: 0 / 246.9 MB, free: 11.88 MB / 250.7 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.0005798/0.006436, allocations: 300.2 kB / 247.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.006479, allocations: 8.031 kB / 247.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003054/0.006785, allocations: 106 kB / 247.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.006972, allocations: 129.7 kB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.006983, allocations: 4.375 kB / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.006993, allocations: 384 / 247.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.007185, allocations: 81.5 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.007195, allocations: 192 / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.007206, allocations: 4.125 kB / 247.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.007212, allocations: 4 kB / 247.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.893e-05/0.007261, allocations: 15.92 kB / 247.6 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.007389, allocations: 78.66 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.284e-05/0.007482, allocations: 67.86 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.007513, allocations: 22.64 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.007529, allocations: 0 / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.007561, allocations: 38.5 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.007563, allocations: 0 / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001707/0.007733, allocations: 61.59 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.007797, allocations: 106.8 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.007948, allocations: 138.2 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.007959, allocations: 25.7 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.007988, allocations: 88.12 kB / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.00802, allocations: 7.953 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.008064, allocations: 21.7 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.008167, allocations: 318.8 kB / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.008192, allocations: 4 kB / 248.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.008226, allocations: 30.81 kB / 248.6 MB, free: 10.02 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.219e-05/0.008288, allocations: 38.56 kB / 248.6 MB, free: 9.977 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.008291, allocations: 0 / 248.6 MB, free: 9.977 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.751e-05/0.008388, allocations: 45.62 kB / 248.6 MB, free: 9.926 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.008404, allocations: 8 kB / 248.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.00841, allocations: 0 / 248.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.008422, allocations: 0 / 248.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.00855, allocations: 28 kB / 248.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.008554, allocations: 0 / 248.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.008606, allocations: 19.89 kB / 248.7 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.008613, allocations: 0 / 248.7 MB, free: 9.871 MB / 250.7 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.769e-05/0.0087, allocations: 121.8 kB / 248.8 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.008717, allocations: 4 kB / 248.8 MB, free: 9.738 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.008747, allocations: 7.969 kB / 248.8 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.008752, allocations: 4 kB / 248.8 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.008758, allocations: 3.984 kB / 248.8 MB, free: 9.723 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.008764, allocations: 3.938 kB / 248.8 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.816e-05/0.008862, allocations: 81.88 kB / 248.9 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008864, allocations: 0 / 248.9 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.574e-05/0.00895, allocations: 15.98 kB / 248.9 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.008962, allocations: 3.953 kB / 248.9 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.008966, allocations: 4 kB / 248.9 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.008975, allocations: 3.984 kB / 248.9 MB, free: 9.594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.008977, allocations: 3.938 kB / 248.9 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.008978, allocations: 0 / 248.9 MB, free: 9.59 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.009112, allocations: 90.77 kB / 249 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.009129, allocations: 0 / 249 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.009183, allocations: 8 kB / 249 MB, free: 9.469 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.009241, allocations: 11.98 kB / 249.1 MB, free: 9.457 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.009248, allocations: 0 / 249.1 MB, free: 9.457 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.697e-05/0.009285, allocations: 28.77 kB / 249.1 MB, free: 9.426 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009285, allocations: 0 / 249.1 MB, free: 9.426 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001833/0.009468, allocations: 15.94 kB / 249.1 MB, free: 9.41 MB / 250.7 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.0001308/0.009599, allocations: 76.36 kB / 249.2 MB, free: 9.324 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.009728, allocations: 24.78 kB / 249.2 MB, free: 9.297 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/0.009742, allocations: 8.172 kB / 249.2 MB, free: 9.289 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.009777, allocations: 20.8 kB / 249.2 MB, free: 9.266 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.009917, allocations: 15.98 kB / 249.2 MB, free: 9.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.01127, allocations: 186 kB / 249.4 MB, free: 9.035 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.01131, allocations: 59.34 kB / 249.5 MB, free: 8.957 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.897e-05/0.01136, allocations: 12.31 kB / 249.5 MB, free: 8.945 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.01143, allocations: 55.36 kB / 249.5 MB, free: 8.891 MB / 250.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01143, allocations: 0 / 249.5 MB, free: 8.891 MB / 250.7 MB Notification: Performance of Templates: time 0.003046/0.01448, allocations: 0.5833 MB / 250.1 MB, free: 8.312 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5362167162820697]