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.001024/0.001024, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.004461/0.004461, allocations: 170 kB / 24.82 MB, free: 9.254 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.075/1.075, allocations: 177 MB / 205.1 MB, free: 5.484 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.723e-06/1.723e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.552e-05, allocations: 2.312 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002315/0.00234, allocations: 1.957 MB / 275.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003525, allocations: 0.6309 MB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.003637, allocations: 11.88 kB / 275.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.003772, allocations: 39.53 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.661e-05/0.003849, allocations: 39.64 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.004125, allocations: 87.72 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.004328, allocations: 207.1 kB / 276.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.004465, allocations: 56.55 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.004659, allocations: 119.6 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.004735, allocations: 51.81 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.004758, allocations: 12 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.636e-05/0.004805, allocations: 20 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.004831, allocations: 43.77 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.004871, allocations: 43.86 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.005027, allocations: 131.4 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.005029, allocations: 4 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00503, allocations: 0 / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.005034, allocations: 0 / 276.8 MB, free: 13.79 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.0004317/0.005466, allocations: 0.5189 MB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.005504, allocations: 11.98 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.005645, allocations: 52.78 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.005808, allocations: 184.2 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.00582, allocations: 8.375 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.005842, allocations: 12.38 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.006009, allocations: 161.8 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.006015, allocations: 192 / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.006027, allocations: 8.375 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.006033, allocations: 7.938 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.871e-05/0.006082, allocations: 35.95 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.006588, allocations: 0.6422 MB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.006713, allocations: 121.1 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.00675, allocations: 35.31 kB / 278.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.006769, allocations: 7.984 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.006791, allocations: 45.33 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.006793, allocations: 0 / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002126/0.007005, allocations: 113.4 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.007051, allocations: 110.9 kB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.007174, allocations: 241.7 kB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.007188, allocations: 29.7 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.007257, allocations: 194.5 kB / 279.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.007296, allocations: 47.58 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.007339, allocations: 43.34 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.007461, allocations: 0.5001 MB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/0.007487, allocations: 15.92 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.697e-05/0.007544, allocations: 88.59 kB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.878e-05/0.007642, allocations: 125.3 kB / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007644, allocations: 0 / 280.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001506/0.007795, allocations: 121.4 kB / 280.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.007809, allocations: 11.94 kB / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.007814, allocations: 0 / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.007832, allocations: 12.12 kB / 280.2 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.007916, allocations: 27.98 kB / 280.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.007921, allocations: 7.984 kB / 280.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.007969, allocations: 15.89 kB / 280.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.007978, allocations: 4.562 kB / 280.3 MB, free: 9.934 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 8.385e-05/0.008062, allocations: 164.5 kB / 280.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.008107, allocations: 19.91 kB / 280.5 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.008284, allocations: 138.6 kB / 280.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.008287, allocations: 3.938 kB / 280.6 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.008291, allocations: 4 kB / 280.6 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.008296, allocations: 4 kB / 280.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.008542, allocations: 169.1 kB / 280.8 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008544, allocations: 0 / 280.8 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.663e-05/0.008631, allocations: 35.91 kB / 280.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.008633, allocations: 0 / 280.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.008647, allocations: 8 kB / 280.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008649, allocations: 0 / 280.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.00865, allocations: 0 / 280.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.008921, allocations: 0.5253 MB / 281.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.008941, allocations: 19.86 kB / 281.4 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.00896, allocations: 8.094 kB / 281.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.009049, allocations: 7.984 kB / 281.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.009085, allocations: 19.91 kB / 281.4 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.009091, allocations: 4 kB / 281.4 MB, free: 8.746 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.147e-05/0.009162, allocations: 180.5 kB / 281.6 MB, free: 8.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009162, allocations: 3.938 kB / 281.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.009404, allocations: 39.89 kB / 281.6 MB, free: 8.527 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 8.699e-05/0.009491, allocations: 95.19 kB / 281.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.009609, allocations: 71.58 kB / 281.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.009611, allocations: 0 / 281.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.009663, allocations: 59.66 kB / 281.8 MB, free: 8.289 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.009935, allocations: 16 kB / 281.8 MB, free: 8.273 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.011, allocations: 0.5136 MB / 282.4 MB, free: 7.723 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.612e-05/0.01106, allocations: 87.75 kB / 282.4 MB, free: 7.617 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.767e-05/0.01111, allocations: 17.47 kB / 282.5 MB, free: 7.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.01118, allocations: 86.2 kB / 282.6 MB, free: 7.516 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01118, allocations: 4 kB / 282.6 MB, free: 7.512 MB / 266.7 MB Notification: Performance of Templates: time 0.003288/0.01447, allocations: 1.253 MB / 283.8 MB, free: 6.273 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.8042167318053544]