Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001874/0.002958, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009948/0.0009948, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002484, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8629/0.8629, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1627/1.026, allocations: 52.48 MB / 238.5 MB, free: 7.609 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 239.7 MB, free: 6.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.288e-05, allocations: 2.312 kB / 239.7 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003618/0.003641, allocations: 1.989 MB / 241.7 MB, free: 4.352 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.004777, allocations: 0.5887 MB / 242.3 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.004891, allocations: 7.938 kB / 242.3 MB, free: 3.758 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.005016, allocations: 39.55 kB / 242.4 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.885e-05/0.005115, allocations: 35.59 kB / 242.4 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.005298, allocations: 69.56 kB / 242.5 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.005561, allocations: 211.1 kB / 242.7 MB, free: 3.41 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.005724, allocations: 58.08 kB / 242.7 MB, free: 3.355 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.005974, allocations: 124.4 kB / 242.9 MB, free: 3.234 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.006097, allocations: 63.02 kB / 242.9 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.006138, allocations: 12 kB / 242.9 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.692e-05/0.006165, allocations: 12 kB / 242.9 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.0062, allocations: 23.88 kB / 243 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.006258, allocations: 43.88 kB / 243 MB, free: 3.086 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.006453, allocations: 111.4 kB / 243.1 MB, free: 2.977 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.006465, allocations: 0 / 243.1 MB, free: 2.977 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006466, allocations: 0 / 243.1 MB, free: 2.977 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.006481, allocations: 0.9688 kB / 243.1 MB, free: 2.977 MB / 234.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.0006017/0.007082, allocations: 440.3 kB / 243.5 MB, free: 2.523 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.007119, allocations: 12.03 kB / 243.6 MB, free: 2.512 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.007178, allocations: 25.8 kB / 243.6 MB, free: 2.488 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.007384, allocations: 165.4 kB / 243.7 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.007403, allocations: 9.75 kB / 243.8 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.007443, allocations: 24.36 kB / 243.8 MB, free: 2.27 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.00767, allocations: 152.9 kB / 243.9 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.00768, allocations: 0 / 243.9 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.007693, allocations: 9.438 kB / 243.9 MB, free: 2.094 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.007701, allocations: 4 kB / 243.9 MB, free: 2.09 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.043e-05/0.007772, allocations: 27.98 kB / 244 MB, free: 2.062 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.008414, allocations: 449.1 kB / 244.4 MB, free: 1.602 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.008563, allocations: 88.45 kB / 244.5 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.00861, allocations: 40.77 kB / 244.5 MB, free: 1.441 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.008627, allocations: 4 kB / 244.5 MB, free: 1.438 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.008655, allocations: 38.44 kB / 244.6 MB, free: 1.391 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.923e-06/0.008657, allocations: 0 / 244.6 MB, free: 1.391 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002404/0.008897, allocations: 93.58 kB / 244.7 MB, free: 1.293 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.008946, allocations: 108.2 kB / 244.8 MB, free: 1.164 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.00908, allocations: 182.2 kB / 244.9 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.009098, allocations: 29.7 kB / 245 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.009156, allocations: 120.5 kB / 245.1 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.009208, allocations: 51.52 kB / 245.1 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.009259, allocations: 38.28 kB / 245.2 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.009362, allocations: 332 kB / 245.5 MB, free: 396 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.181e-05/0.009394, allocations: 8 kB / 245.5 MB, free: 388 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.009457, allocations: 66.78 kB / 245.6 MB, free: 296 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.009577, allocations: 97.47 kB / 245.7 MB, free: 176 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.00958, allocations: 0 / 245.7 MB, free: 176 kB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001709/0.009751, allocations: 107.5 kB / 245.8 MB, free: 64 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.009768, allocations: 7.938 kB / 245.8 MB, free: 56 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.009776, allocations: 8.734 kB / 245.8 MB, free: 48 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.00979, allocations: 0 / 245.8 MB, free: 48 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.009934, allocations: 48.56 kB / 245.8 MB, free: 0 / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/0.009959, allocations: 8.828 kB / 245.9 MB, free: 15.99 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.01003, allocations: 11.89 kB / 245.9 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.01005, allocations: 4.5 kB / 245.9 MB, free: 15.98 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.512e-05/0.01013, allocations: 119.2 kB / 246 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.963e-05/0.01021, allocations: 23.92 kB / 246 MB, free: 15.83 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.01041, allocations: 114.6 kB / 246.1 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.01042, allocations: 5 kB / 246.1 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.01042, allocations: 0 / 246.1 MB, free: 15.71 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.01043, allocations: 4.094 kB / 246.1 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.01076, allocations: 130.1 kB / 246.3 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01076, allocations: 4 kB / 246.3 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.01091, allocations: 39.91 kB / 246.3 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.01094, allocations: 23.83 kB / 246.3 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.01094, allocations: 0 / 246.3 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.01097, allocations: 11.94 kB / 246.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01097, allocations: 0 / 246.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01097, allocations: 7.984 kB / 246.3 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.01127, allocations: 371.9 kB / 246.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.01129, allocations: 7.938 kB / 246.7 MB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.01145, allocations: 4 kB / 246.7 MB, free: 15.08 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.0115, allocations: 19.97 kB / 246.7 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.01151, allocations: 4 kB / 246.7 MB, free: 15.06 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.458e-05/0.01157, allocations: 53.95 kB / 246.8 MB, free: 15 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01157, allocations: 0 / 246.8 MB, free: 15 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003289/0.0119, allocations: 43.89 kB / 246.8 MB, free: 14.96 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.224e-05/0.01199, allocations: 76.36 kB / 246.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.01215, allocations: 69.22 kB / 247 MB, free: 14.8 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.01216, allocations: 4 kB / 247 MB, free: 14.8 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.01225, allocations: 60.78 kB / 247 MB, free: 14.74 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.01262, allocations: 35.98 kB / 247.1 MB, free: 14.7 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.01485, allocations: 407.1 kB / 247.5 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.993e-05/0.01492, allocations: 79.83 kB / 247.6 MB, free: 14.17 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.49e-05/0.01499, allocations: 21.75 kB / 247.6 MB, free: 14.15 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.904e-05/0.01507, allocations: 67.36 kB / 247.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01507, allocations: 0 / 247.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of Templates: time 0.00387/0.01894, allocations: 1.124 MB / 248.8 MB, free: 12.98 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.420778226107359]