Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001658/0.001658, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002061/0.002061, allocations: 214.7 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002515/0.002515, allocations: 59.91 kB / 377.7 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3797, allocations: 53.41 MB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003426/0.3831, allocations: 1.912 MB / 433 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3843, allocations: 0.6077 MB / 433.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.3844, allocations: 7.938 kB / 433.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.3846, allocations: 39.53 kB / 433.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.339e-05/0.3847, allocations: 39.59 kB / 433.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.385, allocations: 83.84 kB / 433.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.3853, allocations: 203.2 kB / 434 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.3854, allocations: 52.3 kB / 434.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.3856, allocations: 87.64 kB / 434.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.3858, allocations: 71.55 kB / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.3858, allocations: 12 kB / 434.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.985e-05/0.3859, allocations: 20 kB / 434.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.3859, allocations: 31.84 kB / 434.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.386, allocations: 71.48 kB / 434.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.3862, allocations: 185 kB / 434.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3862, allocations: 4 kB / 434.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3862, allocations: 4 kB / 434.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.3863, allocations: 0 / 434.5 MB, free: 3.047 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.0007561/0.387, allocations: 429.1 kB / 435 MB, free: 2.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3871, allocations: 15.92 kB / 435 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.222e-05/0.3871, allocations: 46.73 kB / 435 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.3874, allocations: 44.72 kB / 435.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.3877, allocations: 186.1 kB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.3877, allocations: 8.375 kB / 435.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.3877, allocations: 12.38 kB / 435.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.3881, allocations: 168.2 kB / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3881, allocations: 0 / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3881, allocations: 4 kB / 435.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3881, allocations: 4 kB / 435.4 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.3883, allocations: 91.88 kB / 435.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009717/0.3893, allocations: 0.5818 MB / 436.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.3896, allocations: 131.8 kB / 436.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.3897, allocations: 50.62 kB / 436.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.3897, allocations: 8 kB / 436.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3898, allocations: 34.55 kB / 436.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.3898, allocations: 0 / 436.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005108/0.3903, allocations: 185.5 kB / 436.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.3904, allocations: 110.8 kB / 436.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.3906, allocations: 233.9 kB / 436.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3906, allocations: 29.7 kB / 436.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3907, allocations: 136.1 kB / 437 MB, free: 364 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/0.3908, allocations: 51.53 kB / 437.1 MB, free: 312 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.3909, allocations: 37.64 kB / 437.1 MB, free: 268 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.391, allocations: 330.8 kB / 437.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.3911, allocations: 43.97 kB / 437.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.3913, allocations: 94.88 kB / 437.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.3916, allocations: 142.7 kB / 437.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3916, allocations: 3.938 kB / 437.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003394/0.3919, allocations: 189.3 kB / 437.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3919, allocations: 4 kB / 437.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3919, allocations: 4 kB / 437.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3919, allocations: 3.984 kB / 437.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.3921, allocations: 31.98 kB / 437.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3921, allocations: 0 / 437.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.3922, allocations: 28 kB / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.3922, allocations: 12 kB / 438 MB, free: 15.33 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.0001253/0.3924, allocations: 125.8 kB / 438.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.3924, allocations: 19.86 kB / 438.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004014/0.3928, allocations: 190.8 kB / 438.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3928, allocations: 4 kB / 438.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3928, allocations: 0 / 438.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3928, allocations: 3.938 kB / 438.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.3933, allocations: 224.5 kB / 438.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3933, allocations: 8.547 kB / 438.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.3935, allocations: 35.98 kB / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3935, allocations: 0 / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.3935, allocations: 4 kB / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3935, allocations: 4 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3935, allocations: 0 / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.3941, allocations: 491.5 kB / 439.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.3941, allocations: 19.92 kB / 439.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.3942, allocations: 8 kB / 439.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.3943, allocations: 8 kB / 439.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.3944, allocations: 11.97 kB / 439.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3944, allocations: 8 kB / 439.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.3946, allocations: 169.2 kB / 439.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3946, allocations: 4 kB / 439.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.3949, allocations: 31.94 kB / 439.3 MB, free: 13.91 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.0008924/0.3958, allocations: 1.015 MB / 440.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.3961, allocations: 115.9 kB / 440.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3961, allocations: 0 / 440.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.3962, allocations: 55.91 kB / 440.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.3966, allocations: 16.5 kB / 440.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.4001, allocations: 2.585 MB / 443.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.4003, allocations: 133.9 kB / 443.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.925e-05/0.4004, allocations: 21.45 kB / 443.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.4005, allocations: 71.41 kB / 443.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4005, allocations: 4 kB / 443.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1953/0.5958, allocations: 4.243 MB / 447.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.45, allocations: 0 / 447.6 MB, free: 5.578 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Modulation_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Modulation.fmu > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 16.055800579022616]