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.001279/0.001279, 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.001504/0.001504, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.518/1.518, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.001951/0.001951, allocations: 71.89 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4045, allocations: 53.41 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003912/0.4084, allocations: 1.901 MB / 433 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.4097, allocations: 0.6077 MB / 433.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.4098, allocations: 7.938 kB / 433.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.41, allocations: 39.53 kB / 433.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.916e-05/0.4101, allocations: 39.59 kB / 433.7 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.4105, allocations: 87.83 kB / 433.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.4108, allocations: 211.1 kB / 434 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.411, allocations: 48.38 kB / 434.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.4112, allocations: 79.69 kB / 434.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.4113, allocations: 75.52 kB / 434.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.4114, allocations: 12 kB / 434.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.707e-05/0.4114, allocations: 23.94 kB / 434.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.4115, allocations: 43.77 kB / 434.3 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.593e-05/0.4116, allocations: 59.61 kB / 434.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.4119, allocations: 181 kB / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4119, allocations: 0 / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4119, allocations: 0 / 434.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.4119, allocations: 0 / 434.5 MB, free: 3.039 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.0008009/0.4127, allocations: 441.1 kB / 435 MB, free: 2.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.4127, allocations: 19.98 kB / 435 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.217e-05/0.4128, allocations: 46.73 kB / 435 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00025/0.413, allocations: 40.78 kB / 435.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.4134, allocations: 186 kB / 435.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.4134, allocations: 12.38 kB / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/0.4135, allocations: 16.36 kB / 435.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.4138, allocations: 160.3 kB / 435.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4138, allocations: 0 / 435.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.4139, allocations: 4 kB / 435.4 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4139, allocations: 8 kB / 435.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.4141, allocations: 98.88 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.4152, allocations: 0.5778 MB / 436.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.4155, allocations: 131.8 kB / 436.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.4156, allocations: 50.69 kB / 436.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.4156, allocations: 7.984 kB / 436.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.4157, allocations: 34.56 kB / 436.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 4.028e-06/0.4157, allocations: 3.984 kB / 436.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005161/0.4162, allocations: 177.4 kB / 436.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/0.4163, allocations: 106.8 kB / 436.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.4165, allocations: 237.9 kB / 436.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.4165, allocations: 29.7 kB / 436.9 MB, free: 484 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.4166, allocations: 132.1 kB / 437 MB, free: 348 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.4167, allocations: 55.66 kB / 437.1 MB, free: 292 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.17e-05/0.4168, allocations: 37.69 kB / 437.1 MB, free: 248 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.4169, allocations: 326.8 kB / 437.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.417, allocations: 39.97 kB / 437.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.4172, allocations: 98.83 kB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.4175, allocations: 146.7 kB / 437.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.4175, allocations: 3.938 kB / 437.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003342/0.4178, allocations: 181.8 kB / 437.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4178, allocations: 8 kB / 437.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4178, allocations: 192 / 437.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.4179, allocations: 8 kB / 437.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.418, allocations: 36.05 kB / 437.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.418, allocations: 11.86 kB / 437.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.4181, allocations: 19.89 kB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.4181, allocations: 4 kB / 438 MB, free: 15.31 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.0001355/0.4183, allocations: 133.8 kB / 438.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/0.4184, allocations: 27.8 kB / 438.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/0.4188, allocations: 182.9 kB / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4188, allocations: 4 kB / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4188, allocations: 0 / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4188, allocations: 0 / 438.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.4192, allocations: 232.5 kB / 438.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4192, allocations: 0 / 438.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.4194, allocations: 31.98 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.4194, allocations: 0 / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.4194, allocations: 11.98 kB / 438.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4194, allocations: 0 / 438.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4194, allocations: 4.094 kB / 438.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.4201, allocations: 481 kB / 439 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.4201, allocations: 23.92 kB / 439.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.4201, allocations: 4 kB / 439.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.4203, allocations: 11.98 kB / 439.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.4204, allocations: 11.97 kB / 439.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.4204, allocations: 11.98 kB / 439.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.4206, allocations: 169.2 kB / 439.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4206, allocations: 0 / 439.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.4209, allocations: 43.88 kB / 439.3 MB, free: 13.88 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.0009258/0.4218, allocations: 1.006 MB / 440.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.4222, allocations: 107.9 kB / 440.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4222, allocations: 0 / 440.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.4223, allocations: 68.22 kB / 440.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.4227, allocations: 16.48 kB / 440.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/0.4259, allocations: 2.585 MB / 443.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.4261, allocations: 133.8 kB / 443.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.407e-05/0.4261, allocations: 21.47 kB / 443.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.4263, allocations: 71.41 kB / 443.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4263, allocations: 0 / 443.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.4644, allocations: 4.243 MB / 447.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.39, allocations: 0 / 447.6 MB, free: 5.555 MB / 350.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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] "Error: Could not read variable sine.y in file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sine.y from file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable sinAM.y in file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sinAM.y from file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable cosAM.y in file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable cosAM.y from file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable sinFM.y in file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sinFM.y from file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable cosFM.y in file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable cosFM.y from file Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.230458139441907]