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.001113/0.001113, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 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.0009971/0.0009971, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 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.9727/0.9727, allocations: 173.3 MB / 201.1 MB, free: 9.355 MB / 186.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 2.174e-06/2.174e-06, allocations: 3.938 kB / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.266e-05, allocations: 2.312 kB / 268 MB, free: 6.465 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002682/0.002715, allocations: 1.959 MB / 269.9 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000815/0.00353, allocations: 0.5608 MB / 270.5 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.003616, allocations: 7.938 kB / 270.5 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.003765, allocations: 43.53 kB / 270.5 MB, free: 3.883 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.5e-05/0.00383, allocations: 39.59 kB / 270.6 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.004058, allocations: 67.8 kB / 270.7 MB, free: 3.777 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.004238, allocations: 211.1 kB / 270.9 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.004387, allocations: 52.55 kB / 270.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.004526, allocations: 103.7 kB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.004608, allocations: 59.73 kB / 271.1 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.004636, allocations: 16 kB / 271.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.751e-05/0.004653, allocations: 12 kB / 271.1 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.004684, allocations: 31.84 kB / 271.1 MB, free: 3.297 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.004733, allocations: 51.83 kB / 271.2 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.004905, allocations: 127.4 kB / 271.3 MB, free: 3.121 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004909, allocations: 0 / 271.3 MB, free: 3.121 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.00491, allocations: 0 / 271.3 MB, free: 3.121 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.004916, allocations: 0 / 271.3 MB, free: 3.121 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.0005639/0.00548, allocations: 0.5074 MB / 271.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.00553, allocations: 8.922 kB / 271.8 MB, free: 2.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.005596, allocations: 32.8 kB / 271.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.005804, allocations: 191.9 kB / 272 MB, free: 2.324 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.005819, allocations: 12.38 kB / 272.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.005857, allocations: 16.38 kB / 272.1 MB, free: 2.297 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.006076, allocations: 161.5 kB / 272.2 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.006084, allocations: 0 / 272.2 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.006097, allocations: 4 kB / 272.2 MB, free: 2.113 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.006106, allocations: 4 kB / 272.2 MB, free: 2.109 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.738e-05/0.006183, allocations: 47.89 kB / 272.3 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006515/0.006835, allocations: 0.6768 MB / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.007006, allocations: 129.3 kB / 273.1 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.007058, allocations: 47.11 kB / 273.1 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.007077, allocations: 7.984 kB / 273.1 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.007102, allocations: 41.33 kB / 273.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.007103, allocations: 0 / 273.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002631/0.007366, allocations: 121.9 kB / 273.3 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.00741, allocations: 102.8 kB / 273.4 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.007553, allocations: 245.6 kB / 273.6 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.007565, allocations: 25.7 kB / 273.7 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.007642, allocations: 186.6 kB / 273.8 MB, free: 340 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.007685, allocations: 51.53 kB / 273.9 MB, free: 288 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.007728, allocations: 39.48 kB / 273.9 MB, free: 240 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.007866, allocations: 0.504 MB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.007912, allocations: 20.05 kB / 274.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.007986, allocations: 89.42 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.008112, allocations: 117.4 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.008114, allocations: 0 / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001701/0.008284, allocations: 145.3 kB / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.0083, allocations: 8 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.008307, allocations: 0 / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.008328, allocations: 4 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.008517, allocations: 31.92 kB / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.008525, allocations: 4 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.008574, allocations: 15.94 kB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.008586, allocations: 12.19 kB / 274.9 MB, free: 15.21 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.972e-05/0.008665, allocations: 164.5 kB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.008716, allocations: 27.84 kB / 275.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.00895, allocations: 138.7 kB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.008953, allocations: 0 / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.008957, allocations: 4 kB / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.008961, allocations: 0 / 275.2 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.00923, allocations: 196.5 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.009233, allocations: 0 / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.552e-05/0.009328, allocations: 31.92 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.009335, allocations: 11.94 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.009357, allocations: 4 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.00936, allocations: 0 / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.009363, allocations: 7.984 kB / 275.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.009736, allocations: 0.5243 MB / 276 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.009758, allocations: 31.78 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.00978, allocations: 12 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.009874, allocations: 3.938 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.009921, allocations: 19.97 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.009928, allocations: 4 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.475e-05/0.01001, allocations: 180.3 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01001, allocations: 0 / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.01025, allocations: 39.89 kB / 276.3 MB, free: 13.75 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.792e-05/0.01034, allocations: 95.25 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.0105, allocations: 79.5 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.0105, allocations: 0 / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.651e-05/0.01056, allocations: 55.59 kB / 276.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.01084, allocations: 20.31 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009034/0.01175, allocations: 0.5261 MB / 277 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.379e-05/0.01181, allocations: 79.69 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.389e-05/0.01185, allocations: 17.47 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.0119, allocations: 24.48 kB / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.0119, allocations: 0 / 277.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of Templates: time 0.003459/0.01536, allocations: 1.157 MB / 278.3 MB, free: 11.63 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9735655928961933]