Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00135/0.00135, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001509/0.001509, allocations: 213.1 kB / 23.73 MB, free: 4.16 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.533/1.533, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.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.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 59.91 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.32, allocations: 53.41 MB / 431.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003632/0.3236, allocations: 1.905 MB / 433.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3248, allocations: 0.5999 MB / 434.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.325, allocations: 7.938 kB / 434.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.3251, allocations: 43.53 kB / 434.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.3252, allocations: 39.58 kB / 434.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.3255, allocations: 83.84 kB / 434.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.3258, allocations: 211.1 kB / 434.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.3259, allocations: 52.5 kB / 434.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.3261, allocations: 75.7 kB / 434.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.3263, allocations: 79.55 kB / 434.7 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.3263, allocations: 12 kB / 434.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.755e-05/0.3264, allocations: 20 kB / 434.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.3264, allocations: 35.78 kB / 434.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.505e-05/0.3265, allocations: 67.55 kB / 434.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.3268, allocations: 189.3 kB / 435 MB, free: 3.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3268, allocations: 0 / 435 MB, free: 3.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3268, allocations: 0 / 435 MB, free: 3.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.3268, allocations: 0 / 435 MB, free: 3.129 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.0007487/0.3275, allocations: 437.1 kB / 435.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3276, allocations: 15.98 kB / 435.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002277/0.3278, allocations: 36.78 kB / 435.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.3281, allocations: 182.1 kB / 435.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.3281, allocations: 16.38 kB / 435.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.3281, allocations: 20.3 kB / 435.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.3285, allocations: 160.5 kB / 435.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3285, allocations: 4 kB / 435.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3285, allocations: 8 kB / 435.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3285, allocations: 4 kB / 435.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.3287, allocations: 91.88 kB / 436 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009101/0.3296, allocations: 0.5278 MB / 436.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.3299, allocations: 127.8 kB / 436.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.33, allocations: 58.62 kB / 436.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.3301, allocations: 7.938 kB / 436.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3301, allocations: 38.55 kB / 436.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.3301, allocations: 0 / 436.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.00051/0.3306, allocations: 165.5 kB / 436.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.3307, allocations: 114.8 kB / 437 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.3309, allocations: 191.2 kB / 437.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.3309, allocations: 29.7 kB / 437.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.331, allocations: 140 kB / 437.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.3311, allocations: 59.52 kB / 437.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/0.3312, allocations: 33.7 kB / 437.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3313, allocations: 330.8 kB / 437.8 MB, free: 164 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3314, allocations: 39.92 kB / 437.8 MB, free: 124 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.3316, allocations: 101.2 kB / 437.9 MB, free: 0 / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.3319, allocations: 138.7 kB / 438.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3319, allocations: 0 / 438.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003575/0.3322, allocations: 185.8 kB / 438.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3322, allocations: 7.938 kB / 438.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3322, allocations: 8.188 kB / 438.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3323, allocations: 4 kB / 438.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.3324, allocations: 32.03 kB / 438.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.3324, allocations: 11.94 kB / 438.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.3325, allocations: 7.953 kB / 438.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.3325, allocations: 15.98 kB / 438.3 MB, free: 15.57 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.0001189/0.3327, allocations: 125.8 kB / 438.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.3327, allocations: 19.84 kB / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.3332, allocations: 190.5 kB / 438.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3332, allocations: 0 / 438.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3332, allocations: 4 kB / 438.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.3332, allocations: 4.078 kB / 438.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.3336, allocations: 189.2 kB / 438.8 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3336, allocations: 3.984 kB / 438.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.3338, allocations: 35.97 kB / 438.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.3338, allocations: 7.938 kB / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3338, allocations: 0 / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3338, allocations: 0 / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3338, allocations: 8 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.3344, allocations: 469.7 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.3345, allocations: 19.8 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.3345, allocations: 12.05 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.3347, allocations: 4 kB / 439.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.3348, allocations: 15.97 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3348, allocations: 4 kB / 439.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.3349, allocations: 140.7 kB / 439.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3349, allocations: 0 / 439.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.3353, allocations: 47.89 kB / 439.6 MB, free: 14.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * 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 (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 Backend phase and start with SimCode phase: time 0.0001301/0.3354, allocations: 103.3 kB / 439.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003281/0.3357, allocations: 114 kB / 439.8 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3357, allocations: 3.938 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3359, allocations: 60.28 kB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.3363, allocations: 23.92 kB / 439.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.3375, allocations: 0.6121 MB / 440.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.3376, allocations: 133.6 kB / 440.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.494e-05/0.3377, allocations: 13.42 kB / 440.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.3377, allocations: 23.42 kB / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3377, allocations: 0 / 440.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Templates: time 0.004905/0.3426, allocations: 1.335 MB / 442 MB, free: 11.77 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.904776051640511]