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.001882/0.001882, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002326/0.002326, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.809 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+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 0.001783/0.001783, allocations: 51.91 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2923, allocations: 53.36 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.00356/0.2959, allocations: 1.909 MB / 434.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2972, allocations: 0.6038 MB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2973, allocations: 11.81 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.2975, allocations: 39.59 kB / 434.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.971e-05/0.2976, allocations: 39.58 kB / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.2979, allocations: 83.84 kB / 435 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.2982, allocations: 211.1 kB / 435.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.2984, allocations: 52.36 kB / 435.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.2986, allocations: 83.64 kB / 435.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.2988, allocations: 79.5 kB / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.2988, allocations: 12 kB / 435.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.385e-05/0.2989, allocations: 16 kB / 435.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.2989, allocations: 31.84 kB / 435.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.045e-05/0.299, allocations: 67.55 kB / 435.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.2993, allocations: 185.9 kB / 435.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2993, allocations: 0 / 435.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2993, allocations: 0 / 435.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2993, allocations: 0 / 435.7 MB, free: 3.332 MB / 334.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.000797/0.3001, allocations: 437.2 kB / 436.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3001, allocations: 12.03 kB / 436.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.3004, allocations: 40.77 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.3007, allocations: 190 kB / 436.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.3008, allocations: 12.38 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.3008, allocations: 16.36 kB / 436.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.3012, allocations: 164.5 kB / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3012, allocations: 0 / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3012, allocations: 8 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3012, allocations: 4 kB / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.3014, allocations: 87.89 kB / 436.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009547/0.3024, allocations: 0.5316 MB / 437.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.3026, allocations: 131.8 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.3028, allocations: 54.67 kB / 437.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3028, allocations: 7.938 kB / 437.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.3028, allocations: 30.56 kB / 437.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.3028, allocations: 4 kB / 437.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005008/0.3033, allocations: 173.8 kB / 437.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/0.3034, allocations: 110.8 kB / 437.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.3036, allocations: 187.3 kB / 437.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.3037, allocations: 37.69 kB / 437.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3038, allocations: 139.9 kB / 438.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.3039, allocations: 55.52 kB / 438.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.3039, allocations: 33.7 kB / 438.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3041, allocations: 326.8 kB / 438.5 MB, free: 376 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.3042, allocations: 39.97 kB / 438.5 MB, free: 336 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.3044, allocations: 97.91 kB / 438.6 MB, free: 216 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.3047, allocations: 154.7 kB / 438.8 MB, free: 36 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3047, allocations: 0 / 438.8 MB, free: 36 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003904/0.3051, allocations: 185.5 kB / 438.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3051, allocations: 7.984 kB / 438.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.3051, allocations: 4 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3051, allocations: 4 kB / 439 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.3052, allocations: 27.98 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3053, allocations: 7.938 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.726e-05/0.3054, allocations: 11.94 kB / 439 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.3054, allocations: 12 kB / 439 MB, free: 15.77 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 0.0001319/0.3055, allocations: 125.8 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.3056, allocations: 19.88 kB / 439.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.306, allocations: 190.5 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.306, allocations: 0 / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.306, allocations: 0 / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.306, allocations: 4.094 kB / 439.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.3064, allocations: 193.2 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3064, allocations: 7.984 kB / 439.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.3066, allocations: 31.98 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3066, allocations: 3.938 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.3066, allocations: 8 kB / 439.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3066, allocations: 3.938 kB / 439.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3066, allocations: 4 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.3073, allocations: 468 kB / 440.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.3073, allocations: 23.8 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.3073, allocations: 8.062 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.3075, allocations: 4.188 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.3075, allocations: 15.97 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.3076, allocations: 8 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.3077, allocations: 151.2 kB / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3077, allocations: 0 / 440.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003561/0.308, allocations: 39.89 kB / 440.3 MB, free: 14.43 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 0.0001287/0.3082, allocations: 99.23 kB / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003268/0.3085, allocations: 112 kB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3085, allocations: 384 / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.3087, allocations: 67.89 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.3091, allocations: 19.88 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.3102, allocations: 0.6449 MB / 441.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.3103, allocations: 129.6 kB / 441.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.3104, allocations: 27.36 kB / 441.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3104, allocations: 0 / 441.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of Templates: time 0.00515/0.3155, allocations: 2.139 MB / 443.5 MB, free: 11.13 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.321520055178553]