Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.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.001401/0.001401, allocations: 113.9 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.00148/0.00148, allocations: 209.8 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.404/1.404, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation") translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation") [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.002067/0.002067, allocations: 67.83 kB / 378.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.278, allocations: 53.33 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003387/0.2814, allocations: 2.021 MB / 434.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2826, allocations: 0.6466 MB / 434.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.2827, allocations: 7.938 kB / 434.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.2828, allocations: 43.53 kB / 434.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.315e-05/0.2829, allocations: 31.66 kB / 434.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.2832, allocations: 87.72 kB / 434.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.2835, allocations: 207.2 kB / 435.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.2837, allocations: 59.42 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.2839, allocations: 71.72 kB / 435.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.284, allocations: 95.42 kB / 435.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.284, allocations: 12 kB / 435.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.2841, allocations: 16 kB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.2841, allocations: 35.84 kB / 435.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.4e-05/0.2842, allocations: 83.47 kB / 435.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.2845, allocations: 185 kB / 435.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2845, allocations: 4 kB / 435.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2845, allocations: 0 / 435.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.2845, allocations: 0 / 435.6 MB, free: 3.789 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007572/0.2853, allocations: 0.4983 MB / 436.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2853, allocations: 8.031 kB / 436.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.2855, allocations: 40.78 kB / 436.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.2859, allocations: 251.8 kB / 436.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.2859, allocations: 12.31 kB / 436.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.2859, allocations: 12.38 kB / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.2863, allocations: 172.5 kB / 436.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2863, allocations: 0 / 436.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.2863, allocations: 4 kB / 436.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2863, allocations: 4 kB / 436.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.2865, allocations: 87.88 kB / 436.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.2876, allocations: 0.6451 MB / 437.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.2879, allocations: 131.8 kB / 437.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.288, allocations: 54.67 kB / 437.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.2881, allocations: 7.984 kB / 437.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.2881, allocations: 30.56 kB / 437.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.2881, allocations: 0 / 437.6 MB, free: 1.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005371/0.2886, allocations: 185.3 kB / 437.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.2887, allocations: 102.8 kB / 437.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.289, allocations: 238.6 kB / 438.1 MB, free: 1.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.289, allocations: 29.7 kB / 438.1 MB, free: 1.055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.2891, allocations: 140 kB / 438.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.2891, allocations: 47.59 kB / 438.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.2892, allocations: 29.83 kB / 438.3 MB, free: 0.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.2894, allocations: 342.8 kB / 438.7 MB, free: 500 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.2895, allocations: 35.97 kB / 438.7 MB, free: 464 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.2897, allocations: 94.84 kB / 438.8 MB, free: 344 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.29, allocations: 146.7 kB / 438.9 MB, free: 172 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.29, allocations: 4 kB / 438.9 MB, free: 168 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003862/0.2903, allocations: 185.2 kB / 439.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2904, allocations: 8 kB / 439.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2904, allocations: 3.938 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2904, allocations: 4 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2905, allocations: 31.97 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.2906, allocations: 8.125 kB / 439.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.2907, allocations: 28.44 kB / 439.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.2907, allocations: 4 kB / 439.2 MB, free: 15.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 17 * 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.0001228/0.2908, allocations: 125.8 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.2909, allocations: 27.8 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.2913, allocations: 190.7 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2913, allocations: 7.938 kB / 439.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2913, allocations: 4 kB / 439.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.2914, allocations: 96.97 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.2914, allocations: 4 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.2916, allocations: 7.984 kB / 439.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.2917, allocations: 19.92 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000662/0.2923, allocations: 419.3 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006322/0.293, allocations: 0.5507 MB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001405/0.2931, allocations: 56.02 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.2933, allocations: 177.9 kB / 440.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of Backend: time 1.7e-07/0.2933, allocations: 0 / 440.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006742/0.2939, allocations: 146.2 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of SimCode: time 0.001149/0.2951, allocations: 1.06 MB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Templates: time 0.005213/0.3003, allocations: 1.692 MB / 443.8 MB, free: 11.22 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.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.37612645002082]