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.001552/0.001552, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001627/0.001627, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.014/1.014, allocations: 177 MB / 204.8 MB, free: 5.566 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.984e-06/1.984e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.224e-05, allocations: 5.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003275/0.003307, allocations: 1.986 MB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.004617, allocations: 0.6232 MB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.004768, allocations: 7.938 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.004958, allocations: 43.53 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.593e-05/0.005054, allocations: 47.52 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.005407, allocations: 75.78 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.005681, allocations: 223.1 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.005873, allocations: 52.55 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.006144, allocations: 111.7 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.00626, allocations: 59.73 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.006295, allocations: 16 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-05/0.006359, allocations: 16 kB / 276.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.006396, allocations: 35.84 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.408e-05/0.00646, allocations: 51.78 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.006695, allocations: 127.4 kB / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.006698, allocations: 0 / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006699, allocations: 4 kB / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.006706, allocations: 0 / 276.4 MB, free: 13.97 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.0006732/0.007379, allocations: 0.519 MB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.007432, allocations: 15.98 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.00766, allocations: 48.78 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.007942, allocations: 180.2 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.007962, allocations: 12.38 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.008011, allocations: 20.36 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.008292, allocations: 157.9 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.008303, allocations: 192 / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.00832, allocations: 4.375 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.008337, allocations: 7.938 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.008445, allocations: 47.91 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008498/0.009295, allocations: 0.669 MB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.009498, allocations: 121.3 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.978e-05/0.009568, allocations: 47.17 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.009594, allocations: 3.984 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.009629, allocations: 41.39 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.00963, allocations: 0 / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003576/0.009988, allocations: 133.3 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.01004, allocations: 106.8 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.01024, allocations: 241.8 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.01026, allocations: 29.7 kB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/0.01036, allocations: 182.6 kB / 278.9 MB, free: 11.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.01041, allocations: 55.58 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.711e-05/0.01048, allocations: 39.48 kB / 279 MB, free: 11.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.01064, allocations: 0.5001 MB / 279.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-05/0.0107, allocations: 19.98 kB / 279.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.01079, allocations: 88.61 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.01096, allocations: 133.8 kB / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.01097, allocations: 0 / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002493/0.01122, allocations: 137.4 kB / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.01124, allocations: 8 kB / 279.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.01125, allocations: 3.938 kB / 279.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.01127, allocations: 4 kB / 279.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01139, allocations: 31.92 kB / 279.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.0114, allocations: 7.984 kB / 279.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.49e-05/0.01148, allocations: 15.89 kB / 279.9 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.01149, allocations: 12.19 kB / 280 MB, free: 10.02 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 0.0001123/0.01161, allocations: 160.5 kB / 280.1 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.633e-05/0.01169, allocations: 23.91 kB / 280.1 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.01198, allocations: 142.6 kB / 280.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.01198, allocations: 0 / 280.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.01198, allocations: 4 kB / 280.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01199, allocations: 0 / 280.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.01237, allocations: 200.5 kB / 280.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01238, allocations: 0 / 280.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.01251, allocations: 35.92 kB / 280.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.01251, allocations: 8 kB / 280.5 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.01253, allocations: 3.984 kB / 280.5 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.01254, allocations: 7.938 kB / 280.5 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01254, allocations: 0 / 280.5 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.01298, allocations: 0.5254 MB / 281.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.42e-05/0.013, allocations: 15.86 kB / 281.1 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.01303, allocations: 11.94 kB / 281.1 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.01318, allocations: 8 kB / 281.1 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.01324, allocations: 15.91 kB / 281.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.01325, allocations: 4 kB / 281.1 MB, free: 8.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.01337, allocations: 184.5 kB / 281.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01337, allocations: 0 / 281.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003906/0.01376, allocations: 39.89 kB / 281.3 MB, free: 8.574 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.0001078/0.01387, allocations: 95.25 kB / 281.4 MB, free: 8.473 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.01407, allocations: 79.64 kB / 281.5 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01407, allocations: 4 kB / 281.5 MB, free: 8.387 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.575e-05/0.01414, allocations: 48.28 kB / 281.6 MB, free: 8.336 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.01458, allocations: 30.89 kB / 281.6 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.01571, allocations: 0.53 MB / 282.1 MB, free: 7.738 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.661e-05/0.01579, allocations: 75.83 kB / 282.2 MB, free: 7.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.058e-05/0.01585, allocations: 25.45 kB / 282.2 MB, free: 7.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.01591, allocations: 20.5 kB / 282.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01591, allocations: 0 / 282.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of Templates: time 0.00405/0.01996, allocations: 1.158 MB / 283.4 MB, free: 6.449 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.8737518251873553]