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.001103/0.001103, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001694/0.002797, allocations: 457.8 kB / 10.45 MB, free: 244 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.001027/0.001027, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.002272, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 0.9752/0.9752, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.079, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.422e-06/1.422e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.486e-05, allocations: 5.406 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002714/0.002739, allocations: 2.02 MB / 247.2 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009656/0.003704, allocations: 0.6385 MB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.003824, allocations: 7.938 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.003928, allocations: 47.52 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.6e-05/0.004024, allocations: 43.53 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.004212, allocations: 79.78 kB / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.004433, allocations: 215.1 kB / 248.3 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.004562, allocations: 58.5 kB / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.004835, allocations: 128.3 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.004928, allocations: 63.73 kB / 248.5 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.004955, allocations: 12 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.005021, allocations: 20 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.00505, allocations: 27.88 kB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.005093, allocations: 39.88 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.005279, allocations: 119.4 kB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.00529, allocations: 0 / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005291, allocations: 0 / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.0053, allocations: 0 / 248.7 MB, free: 10.02 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.0005228/0.005823, allocations: 443.5 kB / 249.1 MB, free: 9.562 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.005856, allocations: 8.625 kB / 249.2 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.006123, allocations: 122 kB / 249.3 MB, free: 9.418 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.006317, allocations: 169.4 kB / 249.4 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.006329, allocations: 12.38 kB / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.00636, allocations: 20.33 kB / 249.5 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.006542, allocations: 141.4 kB / 249.6 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.00655, allocations: 192 / 249.6 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.006563, allocations: 12.31 kB / 249.6 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.006572, allocations: 7.938 kB / 249.6 MB, free: 9.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.013e-05/0.006632, allocations: 39.91 kB / 249.7 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.007151, allocations: 444.1 kB / 250.1 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.007275, allocations: 87.78 kB / 250.2 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.007311, allocations: 26.81 kB / 250.2 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.007329, allocations: 8 kB / 250.2 MB, free: 8.367 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.007352, allocations: 34.56 kB / 250.3 MB, free: 8.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.007353, allocations: 4 kB / 250.3 MB, free: 8.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002111/0.007564, allocations: 97.5 kB / 250.4 MB, free: 8.219 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.007614, allocations: 110.8 kB / 250.5 MB, free: 8.086 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.007733, allocations: 194.5 kB / 250.6 MB, free: 7.883 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.007748, allocations: 29.7 kB / 250.7 MB, free: 7.848 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.007798, allocations: 119.9 kB / 250.8 MB, free: 7.727 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.007841, allocations: 47.58 kB / 250.8 MB, free: 7.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.007887, allocations: 33.69 kB / 250.9 MB, free: 7.641 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.008098, allocations: 334.8 kB / 251.2 MB, free: 7.305 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.861e-05/0.008127, allocations: 11.98 kB / 251.2 MB, free: 7.293 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-05/0.008178, allocations: 62.98 kB / 251.3 MB, free: 7.207 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.008282, allocations: 98.69 kB / 251.4 MB, free: 7.086 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.008285, allocations: 0 / 251.4 MB, free: 7.086 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001427/0.008427, allocations: 109.6 kB / 251.5 MB, free: 6.973 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.00844, allocations: 4 kB / 251.5 MB, free: 6.969 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.008446, allocations: 4.562 kB / 251.5 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.008459, allocations: 0 / 251.5 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.00858, allocations: 43.84 kB / 251.5 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.008588, allocations: 7.984 kB / 251.5 MB, free: 6.914 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.00865, allocations: 15.89 kB / 251.6 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.008663, allocations: 11.98 kB / 251.6 MB, free: 6.887 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 7.017e-05/0.008733, allocations: 117.8 kB / 251.7 MB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.008792, allocations: 19.98 kB / 251.7 MB, free: 6.742 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.008965, allocations: 114.8 kB / 251.8 MB, free: 6.621 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.008969, allocations: 4 kB / 251.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.008972, allocations: 3.938 kB / 251.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.008976, allocations: 4 kB / 251.8 MB, free: 6.609 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.00927, allocations: 137.6 kB / 252 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.009274, allocations: 4 kB / 252 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.009393, allocations: 39.91 kB / 252 MB, free: 6.414 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.009411, allocations: 11.91 kB / 252 MB, free: 6.402 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.009415, allocations: 4 kB / 252 MB, free: 6.398 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.00943, allocations: 4 kB / 252 MB, free: 6.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.009433, allocations: 4 kB / 252 MB, free: 6.391 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.009435, allocations: 7.938 kB / 252 MB, free: 6.383 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.009676, allocations: 365.9 kB / 252.4 MB, free: 6.008 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.009696, allocations: 3.984 kB / 252.4 MB, free: 6.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.009831, allocations: 8 kB / 252.4 MB, free: 5.996 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.00987, allocations: 19.86 kB / 252.4 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.009879, allocations: 7.984 kB / 252.4 MB, free: 5.969 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.527e-05/0.009934, allocations: 62.14 kB / 252.5 MB, free: 5.906 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009934, allocations: 0 / 252.5 MB, free: 5.906 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.01023, allocations: 43.89 kB / 252.5 MB, free: 5.863 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.729e-05/0.01033, allocations: 80.41 kB / 252.6 MB, free: 5.777 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.01045, allocations: 68.69 kB / 252.7 MB, free: 5.707 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.01046, allocations: 4.25 kB / 252.7 MB, free: 5.703 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.096e-05/0.01053, allocations: 59.67 kB / 252.7 MB, free: 5.645 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.01086, allocations: 40.34 kB / 252.8 MB, free: 5.605 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.01268, allocations: 419.8 kB / 253.2 MB, free: 5.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.628e-05/0.01275, allocations: 83.81 kB / 253.3 MB, free: 5.059 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.299e-05/0.0128, allocations: 17.42 kB / 253.3 MB, free: 5.043 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/0.01288, allocations: 67.36 kB / 253.4 MB, free: 4.977 MB / 250.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01288, allocations: 0 / 253.4 MB, free: 4.977 MB / 250.7 MB Notification: Performance of Templates: time 0.003786/0.01666, allocations: 1.125 MB / 254.5 MB, free: 3.859 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5380712738260627]