Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001521/0.001521, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 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.001643/0.001643, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.378/1.378, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.Modulation") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 71.86 kB / 374.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09651/0.09839, allocations: 53.31 MB / 428 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003266/0.1017, allocations: 2.019 MB / 430.1 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1028, allocations: 0.6427 MB / 430.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.1029, allocations: 7.938 kB / 430.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.1031, allocations: 39.53 kB / 430.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.1031, allocations: 39.59 kB / 430.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1034, allocations: 83.83 kB / 430.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.1037, allocations: 207.2 kB / 431.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1038, allocations: 48.38 kB / 431.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.104, allocations: 87.64 kB / 431.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1041, allocations: 75.56 kB / 431.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.1042, allocations: 12 kB / 431.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.722e-05/0.1042, allocations: 16 kB / 431.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.1043, allocations: 35.84 kB / 431.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.521e-05/0.1043, allocations: 87.42 kB / 431.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.1046, allocations: 187 kB / 431.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1046, allocations: 0 / 431.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1046, allocations: 0 / 431.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1046, allocations: 0 / 431.6 MB, free: 0.7539 MB / 350.1 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.0007264/0.1053, allocations: 0.5006 MB / 432.1 MB, free: 212 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1054, allocations: 11.97 kB / 432.1 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.1056, allocations: 44.77 kB / 432.2 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1828/0.2884, allocations: 238.4 kB / 432.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.2884, allocations: 7.75 kB / 432.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.2885, allocations: 14.88 kB / 432.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.2888, allocations: 167.8 kB / 432.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2889, allocations: 3.469 kB / 432.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.2889, allocations: 6.141 kB / 432.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.2889, allocations: 3.25 kB / 432.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.2891, allocations: 91.27 kB / 432.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008343/0.2899, allocations: 0.6439 MB / 433.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.2902, allocations: 127.3 kB / 433.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.2903, allocations: 56.47 kB / 433.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.2903, allocations: 1.219 kB / 433.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.2903, allocations: 36.31 kB / 433.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.124e-06/0.2903, allocations: 2.344 kB / 433.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005033/0.2908, allocations: 184.9 kB / 433.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.2909, allocations: 108.8 kB / 433.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.2911, allocations: 234.9 kB / 434.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.2911, allocations: 29.95 kB / 434.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.2912, allocations: 137.1 kB / 434.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.2912, allocations: 50.28 kB / 434.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.2913, allocations: 31.88 kB / 434.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.67e-05/0.2913, allocations: 335.8 kB / 434.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.2914, allocations: 41.42 kB / 434.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.2915, allocations: 92.67 kB / 434.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.2918, allocations: 147.6 kB / 434.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2918, allocations: 0 / 434.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003035/0.2921, allocations: 184 kB / 435.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.2921, allocations: 5.938 kB / 435.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2921, allocations: 5.969 kB / 435.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2921, allocations: 6.531 kB / 435.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.2923, allocations: 41.19 kB / 435.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2923, allocations: 4.156 kB / 435.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.835e-05/0.2924, allocations: 16.53 kB / 435.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.2924, allocations: 10.27 kB / 435.2 MB, free: 9.707 MB / 350.1 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.65e-05/0.2925, allocations: 130.4 kB / 435.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.2925, allocations: 23.42 kB / 435.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.2929, allocations: 189.5 kB / 435.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2929, allocations: 0 / 435.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.2929, allocations: 1.219 kB / 435.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2929, allocations: 4.5 kB / 435.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/0.2932, allocations: 275 kB / 435.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2932, allocations: 1.188 kB / 435.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.2934, allocations: 31.11 kB / 435.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2934, allocations: 1.219 kB / 435.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.2934, allocations: 10.36 kB / 435.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2935, allocations: 2.594 kB / 435.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2935, allocations: 1.797 kB / 435.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.2939, allocations: 488.2 kB / 436.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.2939, allocations: 107.8 kB / 436.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.294, allocations: 2.188 kB / 436.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.2941, allocations: 13.08 kB / 436.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.2942, allocations: 10.42 kB / 436.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2942, allocations: 10 kB / 436.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.2943, allocations: 175 kB / 436.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2943, allocations: 0 / 436.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003334/0.2947, allocations: 37.88 kB / 436.7 MB, free: 8.844 MB / 350.1 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.384e-05/0.2948, allocations: 97.34 kB / 436.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002971/0.2951, allocations: 110.2 kB / 436.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2951, allocations: 1.062 kB / 436.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.2952, allocations: 72.58 kB / 436.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.2956, allocations: 16.88 kB / 437 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009237/0.2965, allocations: 0.6555 MB / 437.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.2967, allocations: 0.7407 MB / 438.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.2967, allocations: 25.91 kB / 438.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2967, allocations: 0 / 438.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of Templates: time 0.004386/0.3011, allocations: 2.183 MB / 440.6 MB, free: 7.426 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.373104190919548]