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.001199/0.001199, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001302/0.001302, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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.055/1.055, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] 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 1.764e-06/1.764e-06, allocations: 0 / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.035e-05, allocations: 6.312 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002724/0.002755, allocations: 1.96 MB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.003951, allocations: 0.6502 MB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.004105, allocations: 7.938 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.004281, allocations: 47.47 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.119e-05/0.004372, allocations: 35.61 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.004701, allocations: 95.69 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.00494, allocations: 203.2 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.005094, allocations: 58.5 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.005341, allocations: 103.7 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/0.00543, allocations: 59.8 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.005455, allocations: 12 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.03e-05/0.005515, allocations: 16 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.005545, allocations: 43.77 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.005586, allocations: 47.84 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.005782, allocations: 131.4 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005785, allocations: 4 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.005787, allocations: 0 / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.005794, allocations: 0 / 276.8 MB, free: 13.59 MB / 266.7 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.0004694/0.006263, allocations: 403.7 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.006298, allocations: 15.98 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.006455, allocations: 36.91 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.00667, allocations: 173.4 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.006687, allocations: 20.36 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.006718, allocations: 12.38 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.006904, allocations: 149.3 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.006912, allocations: 192 / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.006924, allocations: 4.375 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.006935, allocations: 7.938 kB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.827e-05/0.006993, allocations: 39.92 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.007544, allocations: 440.1 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.007669, allocations: 95.75 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.007708, allocations: 30.81 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.007727, allocations: 7.938 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.007748, allocations: 34.56 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.00775, allocations: 0 / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002181/0.007968, allocations: 93.58 kB / 278.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.008022, allocations: 110.8 kB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.008138, allocations: 194.5 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.00815, allocations: 25.7 kB / 278.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.008204, allocations: 127.9 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.008242, allocations: 55.64 kB / 278.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.008282, allocations: 29.7 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.008366, allocations: 330.8 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.008388, allocations: 11.98 kB / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.008435, allocations: 66.84 kB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.593e-05/0.008531, allocations: 90.7 kB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.008534, allocations: 4 kB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001247/0.008659, allocations: 109.5 kB / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.008674, allocations: 4 kB / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.008682, allocations: 4 kB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.008695, allocations: 0 / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.988e-05/0.008775, allocations: 32.48 kB / 279.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.008782, allocations: 11.92 kB / 279.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.008826, allocations: 16.08 kB / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.008841, allocations: 8 kB / 279.6 MB, free: 10.6 MB / 266.7 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 9.645e-05/0.008937, allocations: 121.8 kB / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.008978, allocations: 15.98 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.009157, allocations: 114.7 kB / 279.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.00916, allocations: 3.938 kB / 279.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.009163, allocations: 4.031 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.009171, allocations: 7.984 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.009423, allocations: 137.7 kB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.009426, allocations: 0 / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.279e-05/0.009509, allocations: 39.97 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.009513, allocations: 0 / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.009529, allocations: 4 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.009532, allocations: 0 / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.009534, allocations: 0 / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.009784, allocations: 372.9 kB / 280.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.009804, allocations: 23.8 kB / 280.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.009833, allocations: 11.98 kB / 280.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.009911, allocations: 0 / 280.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.00995, allocations: 23.91 kB / 280.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.009957, allocations: 4 kB / 280.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.912e-05/0.01001, allocations: 62.19 kB / 280.5 MB, free: 9.617 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01001, allocations: 0 / 280.5 MB, free: 9.617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.01022, allocations: 39.89 kB / 280.5 MB, free: 9.578 MB / 266.7 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.0001039/0.01033, allocations: 84.34 kB / 280.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.01045, allocations: 64.69 kB / 280.7 MB, free: 9.422 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.01045, allocations: 0 / 280.7 MB, free: 9.422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.537e-05/0.0105, allocations: 49.47 kB / 280.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.01073, allocations: 16.14 kB / 280.7 MB, free: 9.355 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.0115, allocations: 447.1 kB / 281.2 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.782e-05/0.01156, allocations: 79.83 kB / 281.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.01161, allocations: 17.47 kB / 281.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.01167, allocations: 71.36 kB / 281.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01167, allocations: 0 / 281.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of Templates: time 0.003438/0.0151, allocations: 1.195 MB / 282.5 MB, free: 7.508 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] 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","",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.967663925141096]