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.001032/0.001032, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001031/0.001031, allocations: 159.4 kB / 25.61 MB, free: 8.582 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 0.9794/0.9794, allocations: 177 MB / 205.9 MB, free: 4.457 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.062e-06/1.062e-06, allocations: 0 / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.132e-05, allocations: 2.312 kB / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002196/0.002208, allocations: 1.978 MB / 276.1 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007665/0.002974, allocations: 0.6249 MB / 276.7 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.838e-05/0.003063, allocations: 4.719 kB / 276.7 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.003186, allocations: 43.53 kB / 276.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.003249, allocations: 38.69 kB / 276.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.003453, allocations: 83.72 kB / 276.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.00362, allocations: 219 kB / 277.1 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.003734, allocations: 52.55 kB / 277.1 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.003886, allocations: 113.5 kB / 277.2 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.032e-05/0.003957, allocations: 55.81 kB / 277.3 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.003976, allocations: 12 kB / 277.3 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-05/0.004019, allocations: 19.98 kB / 277.3 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.004043, allocations: 31.84 kB / 277.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.00408, allocations: 48.34 kB / 277.4 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.004218, allocations: 132 kB / 277.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.00422, allocations: 0 / 277.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004221, allocations: 0.6562 kB / 277.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.004225, allocations: 4 kB / 277.5 MB, free: 0.8477 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.0004111/0.004636, allocations: 0.5267 MB / 278.1 MB, free: 292 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.004668, allocations: 8.031 kB / 278.1 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.004794, allocations: 48.78 kB / 278.1 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.00495, allocations: 184.1 kB / 278.3 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.004963, allocations: 12.38 kB / 278.3 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.004997, allocations: 16.41 kB / 278.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.00515, allocations: 157.8 kB / 278.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.005157, allocations: 192 / 278.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.005167, allocations: 4.375 kB / 278.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.005174, allocations: 7.938 kB / 278.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.056e-05/0.005224, allocations: 35.91 kB / 278.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.005723, allocations: 0.6423 MB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.005842, allocations: 121.3 kB / 279.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.00588, allocations: 39.17 kB / 279.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.005895, allocations: 8 kB / 279.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.005914, allocations: 37.33 kB / 279.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.005915, allocations: 0 / 279.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002128/0.006128, allocations: 117.4 kB / 279.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.006169, allocations: 102.8 kB / 279.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.006288, allocations: 257.6 kB / 279.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.0063, allocations: 25.7 kB / 279.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.006368, allocations: 190.6 kB / 280.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.006404, allocations: 51.58 kB / 280.1 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.006443, allocations: 35.34 kB / 280.1 MB, free: 14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.006555, allocations: 0.508 MB / 280.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-05/0.006578, allocations: 11.98 kB / 280.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.432e-05/0.006632, allocations: 85.47 kB / 280.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.569e-05/0.006728, allocations: 113.3 kB / 280.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.00673, allocations: 4 kB / 280.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001371/0.006867, allocations: 129.4 kB / 281 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.006878, allocations: 4 kB / 281 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.006885, allocations: 4 kB / 281 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.006896, allocations: 7.938 kB / 281 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.00698, allocations: 35.97 kB / 281 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.006985, allocations: 3.938 kB / 281 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.007037, allocations: 15.89 kB / 281.1 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.007046, allocations: 4.609 kB / 281.1 MB, free: 13 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 7.911e-05/0.007125, allocations: 168.8 kB / 281.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.007173, allocations: 27.83 kB / 281.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.007338, allocations: 130.6 kB / 281.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.007341, allocations: 7.938 kB / 281.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.007344, allocations: 3.938 kB / 281.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.007349, allocations: 3.984 kB / 281.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.007584, allocations: 165.1 kB / 281.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.007587, allocations: 3.984 kB / 281.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.007674, allocations: 35.98 kB / 281.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.007676, allocations: 0 / 281.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.007687, allocations: 4 kB / 281.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.007688, allocations: 4 kB / 281.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007689, allocations: 0 / 281.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.008201, allocations: 0.5253 MB / 282.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.008219, allocations: 19.86 kB / 282.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.008236, allocations: 4 kB / 282.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.854e-05/0.008324, allocations: 11.98 kB / 282.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.008358, allocations: 11.92 kB / 282.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.954e-06/0.008365, allocations: 7.984 kB / 282.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.184e-05/0.008427, allocations: 172.5 kB / 282.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008427, allocations: 4 kB / 282.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00023/0.008657, allocations: 35.89 kB / 282.4 MB, free: 11.6 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 7.285e-05/0.008729, allocations: 99.19 kB / 282.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001221/0.008852, allocations: 74.22 kB / 282.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.008853, allocations: 7.938 kB / 282.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.008898, allocations: 43.59 kB / 282.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.009221, allocations: 16.8 kB / 282.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/0.009912, allocations: 0.5261 MB / 283.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/0.009968, allocations: 83.81 kB / 283.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.924e-05/0.01001, allocations: 13.48 kB / 283.2 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.01007, allocations: 90.19 kB / 283.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01007, allocations: 0 / 283.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of Templates: time 0.002938/0.01301, allocations: 1.291 MB / 284.6 MB, free: 9.305 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.9190846332348883]