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.0006729/0.0006729, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001714, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006706/0.0006706, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009408/0.001611, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.006/1.006, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0947/1.101, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.824e-06/1.824e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.714e-05, allocations: 5.266 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003086/0.003113, allocations: 2.016 MB / 247 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003132/0.006246, allocations: 0.6386 MB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.006375, allocations: 7.938 kB / 247.7 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.006488, allocations: 55.45 kB / 247.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.517e-05/0.006573, allocations: 35.59 kB / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.006802, allocations: 83.78 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.007043, allocations: 203.1 kB / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.007187, allocations: 62.5 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.007442, allocations: 144.2 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.007544, allocations: 55.8 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.007569, allocations: 12 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-05/0.00764, allocations: 16 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.007666, allocations: 23.88 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.007714, allocations: 43.88 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.0079, allocations: 119.4 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.882e-05/0.007918, allocations: 3.938 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007919, allocations: 0 / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.007936, allocations: 0 / 248.5 MB, free: 10.12 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.003573/0.01151, allocations: 439.5 kB / 248.9 MB, free: 9.664 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.01154, allocations: 8.625 kB / 249 MB, free: 9.656 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.01174, allocations: 122 kB / 249.1 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.01195, allocations: 169.4 kB / 249.2 MB, free: 9.328 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.01196, allocations: 8.375 kB / 249.3 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.01199, allocations: 20.33 kB / 249.3 MB, free: 9.301 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.01217, allocations: 153.3 kB / 249.4 MB, free: 9.133 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.01218, allocations: 4.188 kB / 249.4 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.01219, allocations: 4.375 kB / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.0122, allocations: 7.938 kB / 249.4 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.209e-05/0.01226, allocations: 31.97 kB / 249.5 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005425/0.01281, allocations: 440.1 kB / 249.9 MB, free: 8.633 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.01293, allocations: 91.77 kB / 250 MB, free: 8.516 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.01297, allocations: 34.81 kB / 250 MB, free: 8.473 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.01298, allocations: 4 kB / 250 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.01301, allocations: 42.48 kB / 250.1 MB, free: 8.418 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.01301, allocations: 4 kB / 250.1 MB, free: 8.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002014/0.01321, allocations: 89.59 kB / 250.2 MB, free: 8.32 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.01326, allocations: 110.8 kB / 250.3 MB, free: 8.188 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.01339, allocations: 190.5 kB / 250.5 MB, free: 7.988 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.0134, allocations: 25.7 kB / 250.5 MB, free: 7.957 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.01346, allocations: 127.9 kB / 250.6 MB, free: 7.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.0135, allocations: 43.59 kB / 250.6 MB, free: 7.785 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.01355, allocations: 29.69 kB / 250.7 MB, free: 7.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.01366, allocations: 338.8 kB / 251 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.01368, allocations: 12.12 kB / 251 MB, free: 7.398 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.01374, allocations: 70.78 kB / 251.1 MB, free: 7.305 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.01385, allocations: 90.75 kB / 251.2 MB, free: 7.191 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.01386, allocations: 0 / 251.2 MB, free: 7.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000144/0.014, allocations: 109.5 kB / 251.3 MB, free: 7.078 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.01402, allocations: 8 kB / 251.3 MB, free: 7.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003018/0.01703, allocations: 3.938 kB / 251.3 MB, free: 7.066 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.01705, allocations: 7.984 kB / 251.3 MB, free: 7.059 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.01717, allocations: 43.84 kB / 251.3 MB, free: 7.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.01717, allocations: 7.984 kB / 251.4 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.01724, allocations: 12.45 kB / 251.4 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.01725, allocations: 8 kB / 251.4 MB, free: 6.988 MB / 250.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 8.923e-05/0.01734, allocations: 121.9 kB / 251.5 MB, free: 6.859 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.0174, allocations: 19.98 kB / 251.5 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.01757, allocations: 106.7 kB / 251.6 MB, free: 6.727 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01757, allocations: 4 kB / 251.6 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01758, allocations: 7.938 kB / 251.6 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01758, allocations: 0 / 251.6 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.01789, allocations: 137.7 kB / 251.8 MB, free: 6.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.01789, allocations: 4 kB / 251.8 MB, free: 6.559 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.01801, allocations: 43.91 kB / 251.8 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.01803, allocations: 11.91 kB / 251.8 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01803, allocations: 4 kB / 251.8 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.01805, allocations: 7.984 kB / 251.8 MB, free: 6.492 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01805, allocations: 0 / 251.8 MB, free: 6.492 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.01805, allocations: 7.938 kB / 251.8 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.0183, allocations: 373.1 kB / 252.2 MB, free: 6.105 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.01832, allocations: 4 kB / 252.2 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.01844, allocations: 4 kB / 252.2 MB, free: 6.098 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.01848, allocations: 19.91 kB / 252.2 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.01849, allocations: 4 kB / 252.2 MB, free: 6.074 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.01854, allocations: 70.12 kB / 252.3 MB, free: 6.004 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01854, allocations: 0 / 252.3 MB, free: 6.004 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.01884, allocations: 39.89 kB / 252.3 MB, free: 5.965 MB / 250.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 9.281e-05/0.01893, allocations: 80.42 kB / 252.4 MB, free: 5.879 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.01906, allocations: 64.69 kB / 252.5 MB, free: 5.812 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.01907, allocations: 4 kB / 252.5 MB, free: 5.809 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.099e-05/0.01912, allocations: 44.77 kB / 252.5 MB, free: 5.762 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.01942, allocations: 24 kB / 252.6 MB, free: 5.738 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/0.02427, allocations: 427.4 kB / 253 MB, free: 5.285 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.768e-05/0.02434, allocations: 76.08 kB / 253 MB, free: 5.191 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.847e-05/0.0244, allocations: 21.75 kB / 253.1 MB, free: 5.172 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.02447, allocations: 71.36 kB / 253.1 MB, free: 5.102 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02447, allocations: 0 / 253.1 MB, free: 5.102 MB / 250.7 MB Notification: Performance of Templates: time 0.006445/0.03091, allocations: 1.203 MB / 254.3 MB, free: 3.918 MB / 250.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 -ignoreHideResult -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.489829263649881]