Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001347/0.001347, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.001662/0.001662, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 230.4 MB / 258.1 MB, free: 8.164 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.CompareSincExpSine") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 67.83 kB / 378.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2836, allocations: 53.32 MB / 432 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00275/0.2864, allocations: 1.514 MB / 433.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.2872, allocations: 0.5104 MB / 434.1 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.2873, allocations: 0 / 434.1 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.2873, allocations: 3.938 kB / 434.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.201e-05/0.2874, allocations: 23.78 kB / 434.1 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.2876, allocations: 31.91 kB / 434.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.2877, allocations: 71.72 kB / 434.2 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.273e-05/0.2878, allocations: 8.156 kB / 434.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.288, allocations: 39.86 kB / 434.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.288, allocations: 35.84 kB / 434.3 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2881, allocations: 4 kB / 434.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.465e-05/0.2881, allocations: 15.97 kB / 434.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.2881, allocations: 8 kB / 434.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.2882, allocations: 27.8 kB / 434.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.2883, allocations: 65.7 kB / 434.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2883, allocations: 4 kB / 434.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2883, allocations: 3.938 kB / 434.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2883, allocations: 0 / 434.4 MB, free: 5.062 MB / 334.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.0006969/0.289, allocations: 399.1 kB / 434.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.289, allocations: 8.031 kB / 434.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.2894, allocations: 32.86 kB / 434.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.2896, allocations: 180.3 kB / 435 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.2896, allocations: 16.34 kB / 435 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.2896, allocations: 384 / 435 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.2899, allocations: 84.34 kB / 435.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2899, allocations: 0 / 435.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2899, allocations: 0 / 435.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2899, allocations: 8 kB / 435.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.2902, allocations: 59.88 kB / 435.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.2904, allocations: 191.4 kB / 435.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.2907, allocations: 99.75 kB / 435.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.2909, allocations: 46.61 kB / 435.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.2909, allocations: 8 kB / 435.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.2909, allocations: 42.42 kB / 435.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2909, allocations: 0 / 435.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000556/0.2915, allocations: 141.8 kB / 435.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.2915, allocations: 106.8 kB / 435.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.2917, allocations: 124.8 kB / 435.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.2917, allocations: 37.69 kB / 436 MB, free: 3.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.2917, allocations: 84.14 kB / 436 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.2918, allocations: 19.84 kB / 436.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.2918, allocations: 13.7 kB / 436.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2919, allocations: 326.9 kB / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.2921, allocations: 31.91 kB / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.2922, allocations: 46.55 kB / 436.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.2925, allocations: 82.52 kB / 436.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2925, allocations: 0 / 436.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003739/0.2929, allocations: 121.4 kB / 436.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2929, allocations: 8.094 kB / 436.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.2929, allocations: 0 / 436.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2929, allocations: 4 kB / 436.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.2931, allocations: 19.92 kB / 436.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2931, allocations: 3.984 kB / 436.7 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.852e-05/0.2932, allocations: 11.98 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.2932, allocations: 0 / 436.7 MB, free: 2.465 MB / 334.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.841e-05/0.2933, allocations: 117.8 kB / 436.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.2933, allocations: 11.89 kB / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.2933, allocations: 15.83 kB / 436.9 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2933, allocations: 7.922 kB / 436.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2933, allocations: 4 kB / 436.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.2934, allocations: 85.06 kB / 437 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.2934, allocations: 0 / 437 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2935, allocations: 11.98 kB / 437 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.2936, allocations: 4 kB / 437 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005242/0.2941, allocations: 359.2 kB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004722/0.2946, allocations: 425.4 kB / 437.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001516/0.2947, allocations: 36.09 kB / 437.8 MB, free: 1.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.084e-05/0.2948, allocations: 110.4 kB / 437.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of Backend: time 3.9e-07/0.2948, allocations: 0 / 437.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006881/0.2955, allocations: 122.3 kB / 438 MB, free: 1.121 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006013/0.2961, allocations: 0.6133 MB / 438.6 MB, free: 472 kB / 334.1 MB Notification: Performance of Templates: time 0.003781/0.2999, allocations: 0.9804 MB / 439.6 MB, free: 15.48 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.363560938742012]