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.008564/0.008564, allocations: 105.6 kB / 21.98 MB, free: 5.223 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.00235/0.00235, allocations: 212.6 kB / 25.29 MB, free: 3.203 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.468/1.468, allocations: 230.6 MB / 259 MB, free: 8.043 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.002008/0.002008, allocations: 71.88 kB / 379.8 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2742, allocations: 53.37 MB / 433.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003496/0.2777, allocations: 2.013 MB / 435.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.279, allocations: 0.6543 MB / 435.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.2791, allocations: 7.938 kB / 435.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.2793, allocations: 43.53 kB / 435.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.243e-05/0.2794, allocations: 39.59 kB / 435.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.2797, allocations: 83.78 kB / 436 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.28, allocations: 207.2 kB / 436.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.2802, allocations: 52.55 kB / 436.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.2804, allocations: 79.64 kB / 436.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.2805, allocations: 83.5 kB / 436.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.2805, allocations: 16 kB / 436.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.869e-05/0.2806, allocations: 16 kB / 436.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.2806, allocations: 35.84 kB / 436.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.688e-05/0.2807, allocations: 91.41 kB / 436.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.281, allocations: 176.4 kB / 436.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.281, allocations: 0 / 436.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.281, allocations: 0 / 436.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.281, allocations: 4 kB / 436.8 MB, free: 3.387 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.0007472/0.2817, allocations: 433.2 kB / 437.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2818, allocations: 12.03 kB / 437.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.282, allocations: 36.78 kB / 437.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.2824, allocations: 194 kB / 437.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2824, allocations: 16.36 kB / 437.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.2825, allocations: 20.36 kB / 437.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.2828, allocations: 164.4 kB / 437.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2828, allocations: 3.938 kB / 437.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.2828, allocations: 8 kB / 437.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.2828, allocations: 4 kB / 437.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.2831, allocations: 87.88 kB / 437.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.2841, allocations: 0.6013 MB / 438.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.2844, allocations: 131.8 kB / 438.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.2845, allocations: 58.61 kB / 438.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.2846, allocations: 7.938 kB / 438.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2846, allocations: 30.56 kB / 438.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.2846, allocations: 0 / 438.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005571/0.2852, allocations: 181.4 kB / 438.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.2852, allocations: 102.8 kB / 438.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.2855, allocations: 237.9 kB / 439 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.2855, allocations: 33.64 kB / 439.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.2857, allocations: 140 kB / 439.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.2857, allocations: 47.59 kB / 439.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/0.2858, allocations: 37.83 kB / 439.3 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.286, allocations: 334.8 kB / 439.6 MB, free: 292 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.2861, allocations: 39.97 kB / 439.7 MB, free: 252 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.2862, allocations: 90.84 kB / 439.8 MB, free: 136 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.2865, allocations: 142.8 kB / 439.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2865, allocations: 4 kB / 439.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003552/0.2869, allocations: 181.8 kB / 440.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.2869, allocations: 8 kB / 440.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2869, allocations: 0 / 440.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.2869, allocations: 4 kB / 440.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.2871, allocations: 35.91 kB / 440.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2871, allocations: 4.188 kB / 440.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2872, allocations: 31.88 kB / 440.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.2872, allocations: 4 kB / 440.2 MB, free: 15.7 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.0001315/0.2874, allocations: 134.2 kB / 440.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.75e-05/0.2874, allocations: 27.86 kB / 440.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.2879, allocations: 186.9 kB / 440.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2879, allocations: 4 kB / 440.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2879, allocations: 4.094 kB / 440.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2879, allocations: 3.984 kB / 440.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.2883, allocations: 252.4 kB / 440.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2883, allocations: 3.938 kB / 440.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.2885, allocations: 27.98 kB / 440.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2885, allocations: 4 kB / 440.8 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.2886, allocations: 7.984 kB / 440.8 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2886, allocations: 4 kB / 440.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2886, allocations: 0 / 440.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/0.2891, allocations: 473.7 kB / 441.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.2892, allocations: 23.88 kB / 441.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.2892, allocations: 8 kB / 441.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.2894, allocations: 7.984 kB / 441.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.2895, allocations: 15.98 kB / 441.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.2895, allocations: 11.92 kB / 441.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.2896, allocations: 173.2 kB / 441.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2896, allocations: 0 / 441.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.29, allocations: 32 kB / 441.5 MB, free: 14.24 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.0001204/0.2901, allocations: 99.12 kB / 441.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003435/0.2905, allocations: 119.8 kB / 441.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2905, allocations: 0 / 441.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.2906, allocations: 63.84 kB / 441.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.291, allocations: 19.17 kB / 441.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.2922, allocations: 0.648 MB / 442.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.2926, allocations: 0.7513 MB / 443.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.2927, allocations: 23.44 kB / 443.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2927, allocations: 0 / 443.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Templates: time 0.004658/0.2973, allocations: 2.187 MB / 445.4 MB, free: 10.26 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/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-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: 7.143407439813018]