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.001115/0.001115, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001706/0.002821, allocations: 449.7 kB / 10.37 MB, free: 332 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.0009304/0.0009304, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009499/0.00188, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9904/0.9904, allocations: 173.3 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09025/1.081, allocations: 52.49 MB / 238.3 MB, free: 4.434 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 2.294e-06/2.294e-06, allocations: 7.938 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.525e-05, allocations: 2.312 kB / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002409/0.002424, allocations: 1.989 MB / 241.5 MB, free: 1.176 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008313/0.003256, allocations: 0.5841 MB / 242.1 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00338/0.006636, allocations: 7.938 kB / 242.1 MB, free: 0.582 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.006739, allocations: 47.47 kB / 242.2 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.112e-05/0.006821, allocations: 39.61 kB / 242.2 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.00697, allocations: 71.78 kB / 242.3 MB, free: 436 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.007174, allocations: 203.1 kB / 242.5 MB, free: 232 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.007302, allocations: 54.52 kB / 242.5 MB, free: 176 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.007479, allocations: 120.4 kB / 242.6 MB, free: 56 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.007583, allocations: 63.78 kB / 242.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.007615, allocations: 12 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.007635, allocations: 12 kB / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.007663, allocations: 31.88 kB / 242.8 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.007713, allocations: 39.88 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.007864, allocations: 111.4 kB / 242.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.007878, allocations: 0 / 242.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007879, allocations: 0 / 242.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.007896, allocations: 3.938 kB / 242.9 MB, free: 15.79 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.0004977/0.008393, allocations: 439.5 kB / 243.3 MB, free: 15.33 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.008421, allocations: 8.031 kB / 243.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.008466, allocations: 28.91 kB / 243.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.008625, allocations: 161.5 kB / 243.5 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.008637, allocations: 12.31 kB / 243.6 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.008662, allocations: 16.38 kB / 243.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.008831, allocations: 149 kB / 243.7 MB, free: 14.92 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.008839, allocations: 0 / 243.7 MB, free: 14.92 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.008851, allocations: 4 kB / 243.7 MB, free: 14.92 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.008857, allocations: 4 kB / 243.7 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.034e-05/0.008918, allocations: 43.55 kB / 243.8 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.00942, allocations: 448.1 kB / 244.2 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.009538, allocations: 83.89 kB / 244.3 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.009577, allocations: 38.62 kB / 244.3 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.009592, allocations: 4 kB / 244.3 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.009614, allocations: 38.5 kB / 244.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.009616, allocations: 7.938 kB / 244.4 MB, free: 14.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001968/0.009812, allocations: 90.02 kB / 244.5 MB, free: 14.11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.009859, allocations: 110.8 kB / 244.6 MB, free: 13.97 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.009973, allocations: 186.1 kB / 244.7 MB, free: 13.78 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.009986, allocations: 25.83 kB / 244.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.01004, allocations: 131.8 kB / 244.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.01008, allocations: 47.56 kB / 244.9 MB, free: 13.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.01012, allocations: 37.69 kB / 245 MB, free: 13.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.006089/0.01621, allocations: 330.8 kB / 245.3 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.01624, allocations: 16.05 kB / 245.3 MB, free: 13.18 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.337e-05/0.01629, allocations: 62.84 kB / 245.4 MB, free: 13.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.01641, allocations: 102.7 kB / 245.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.01641, allocations: 0 / 245.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001394/0.01655, allocations: 105.5 kB / 245.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.01656, allocations: 11.92 kB / 245.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.01657, allocations: 4 kB / 245.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.01658, allocations: 0 / 245.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.01669, allocations: 39.91 kB / 245.6 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.0167, allocations: 8.188 kB / 245.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.878e-05/0.01675, allocations: 11.95 kB / 245.7 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.01677, allocations: 8 kB / 245.7 MB, free: 12.77 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 6.607e-05/0.01683, allocations: 117.8 kB / 245.8 MB, free: 12.65 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.01689, allocations: 19.88 kB / 245.8 MB, free: 12.63 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.01706, allocations: 122.8 kB / 245.9 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01707, allocations: 0 / 245.9 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01707, allocations: 0 / 245.9 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.01707, allocations: 7.984 kB / 245.9 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.01735, allocations: 125.8 kB / 246.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01736, allocations: 8 kB / 246.1 MB, free: 12.35 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.01747, allocations: 35.97 kB / 246.1 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.01749, allocations: 15.84 kB / 246.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.0175, allocations: 4 kB / 246.1 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.01752, allocations: 11.92 kB / 246.1 MB, free: 12.28 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01752, allocations: 0 / 246.1 MB, free: 12.28 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.01752, allocations: 7.938 kB / 246.1 MB, free: 12.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.01775, allocations: 371.5 kB / 246.5 MB, free: 11.9 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.01777, allocations: 11.88 kB / 246.5 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.01791, allocations: 8 kB / 246.5 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.01794, allocations: 15.97 kB / 246.5 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.01795, allocations: 4 kB / 246.5 MB, free: 11.86 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.826e-05/0.018, allocations: 57.95 kB / 246.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.018, allocations: 0 / 246.6 MB, free: 11.8 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.01829, allocations: 43.83 kB / 246.6 MB, free: 11.76 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 7.044e-05/0.01836, allocations: 76.42 kB / 246.7 MB, free: 11.67 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.01852, allocations: 73 kB / 246.8 MB, free: 11.6 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.01853, allocations: 4.062 kB / 246.8 MB, free: 11.59 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/0.01858, allocations: 48.75 kB / 246.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.01887, allocations: 27.88 kB / 246.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004789/0.02366, allocations: 407.1 kB / 247.3 MB, free: 11.08 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.241e-05/0.02373, allocations: 79.81 kB / 247.3 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.444e-05/0.02378, allocations: 25.75 kB / 247.4 MB, free: 10.96 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.02384, allocations: 67.36 kB / 247.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02385, allocations: 0 / 247.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of Templates: time 0.006267/0.03011, allocations: 1.184 MB / 248.6 MB, free: 9.715 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.443636897020042]