Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001626/0.002676, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002652, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.055/1.055, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1097/1.165, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.69e-05, allocations: 6.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002612/0.002639, allocations: 2.031 MB / 246.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.003416, allocations: 0.6425 MB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.003513, allocations: 7.938 kB / 247.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.968e-05/0.003613, allocations: 43.47 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.386e-05/0.003677, allocations: 39.59 kB / 247.3 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.003836, allocations: 83.77 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.004049, allocations: 207.1 kB / 247.6 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.004208, allocations: 54.53 kB / 247.6 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.004492, allocations: 144.2 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.004593, allocations: 55.8 kB / 247.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.004624, allocations: 12 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-05/0.004705, allocations: 16 kB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.004736, allocations: 31.81 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.004789, allocations: 39.88 kB / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.005006, allocations: 119.4 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.15e-05/0.005027, allocations: 0 / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.005028, allocations: 0 / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.005048, allocations: 4 kB / 248 MB, free: 10.8 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.0006466/0.005695, allocations: 435.5 kB / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.005739, allocations: 12.03 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.00597, allocations: 118 kB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.006232, allocations: 173.3 kB / 248.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.006248, allocations: 12.38 kB / 248.8 MB, free: 9.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.006283, allocations: 16.33 kB / 248.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.006507, allocations: 161.3 kB / 248.9 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.006519, allocations: 192 / 248.9 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.006531, allocations: 4.375 kB / 248.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.006544, allocations: 11.92 kB / 248.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.726e-05/0.006611, allocations: 31.61 kB / 249 MB, free: 9.762 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006362/0.007247, allocations: 444.1 kB / 249.4 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.007399, allocations: 95.75 kB / 249.5 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.007442, allocations: 30.81 kB / 249.5 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.007461, allocations: 8 kB / 249.5 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.007492, allocations: 42.5 kB / 249.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.007493, allocations: 0 / 249.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002251/0.007718, allocations: 89.58 kB / 249.7 MB, free: 8.992 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.007773, allocations: 110.8 kB / 249.8 MB, free: 8.859 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.007912, allocations: 186.5 kB / 250 MB, free: 8.664 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.007925, allocations: 29.64 kB / 250 MB, free: 8.629 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.007989, allocations: 127.9 kB / 250.1 MB, free: 8.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.89e-05/0.008038, allocations: 47.58 kB / 250.2 MB, free: 8.453 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.008095, allocations: 29.7 kB / 250.2 MB, free: 8.418 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.008203, allocations: 342.9 kB / 250.5 MB, free: 8.074 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.008229, allocations: 11.98 kB / 250.5 MB, free: 8.062 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.671e-05/0.008295, allocations: 69.75 kB / 250.6 MB, free: 7.973 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.008405, allocations: 86.77 kB / 250.7 MB, free: 7.863 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.008407, allocations: 3.938 kB / 250.7 MB, free: 7.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001539/0.008561, allocations: 113.5 kB / 250.8 MB, free: 7.742 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.008577, allocations: 4 kB / 250.8 MB, free: 7.738 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.008584, allocations: 4 kB / 250.8 MB, free: 7.734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.008594, allocations: 0 / 250.8 MB, free: 7.734 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.008714, allocations: 43.84 kB / 250.9 MB, free: 7.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.008718, allocations: 4 kB / 250.9 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.008785, allocations: 11.89 kB / 250.9 MB, free: 7.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.008799, allocations: 12 kB / 250.9 MB, free: 7.664 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.038e-05/0.008879, allocations: 122 kB / 251 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.008937, allocations: 15.98 kB / 251 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.009122, allocations: 107.3 kB / 251.1 MB, free: 7.402 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.009126, allocations: 0 / 251.1 MB, free: 7.402 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.009134, allocations: 7.938 kB / 251.1 MB, free: 7.395 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.009142, allocations: 3.984 kB / 251.1 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.009471, allocations: 137.7 kB / 251.3 MB, free: 7.238 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.009476, allocations: 4 kB / 251.3 MB, free: 7.234 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.009604, allocations: 39.92 kB / 251.3 MB, free: 7.195 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.009625, allocations: 11.91 kB / 251.3 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.00963, allocations: 11.98 kB / 251.3 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.009645, allocations: 0 / 251.3 MB, free: 7.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.009648, allocations: 4 kB / 251.3 MB, free: 7.168 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.009652, allocations: 4.094 kB / 251.3 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.009932, allocations: 377.9 kB / 251.7 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.009956, allocations: 8 kB / 251.7 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.01009, allocations: 3.984 kB / 251.7 MB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.01014, allocations: 19.92 kB / 251.7 MB, free: 6.746 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.01015, allocations: 3.984 kB / 251.7 MB, free: 6.742 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.027e-05/0.01021, allocations: 66.12 kB / 251.8 MB, free: 6.676 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01021, allocations: 4 kB / 251.8 MB, free: 6.672 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003189/0.01053, allocations: 39.89 kB / 251.9 MB, free: 6.633 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 0.0001044/0.01063, allocations: 80.36 kB / 251.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.01077, allocations: 64.73 kB / 252 MB, free: 6.48 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.01078, allocations: 4 kB / 252 MB, free: 6.477 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.605e-05/0.01084, allocations: 43.59 kB / 252 MB, free: 6.434 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.01119, allocations: 32.3 kB / 252.1 MB, free: 6.402 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.01331, allocations: 415.2 kB / 252.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.489e-05/0.01339, allocations: 79.83 kB / 252.6 MB, free: 5.863 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.543e-05/0.01344, allocations: 17.47 kB / 252.6 MB, free: 5.848 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.01353, allocations: 63.38 kB / 252.6 MB, free: 5.785 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01353, allocations: 0 / 252.6 MB, free: 5.785 MB / 250.7 MB Notification: Performance of Templates: time 0.00404/0.01757, allocations: 1.206 MB / 253.8 MB, free: 4.598 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.6613754890859127]