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: 116.4 kB / 20.43 MB, free: 1.457 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.001375/0.001375, allocations: 214.3 kB / 23.75 MB, free: 4.672 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.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 8 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.002909/0.002909, allocations: 63.89 kB / 377.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3032, allocations: 53.41 MB / 431.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003686/0.3069, allocations: 2.025 MB / 433.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3081, allocations: 0.6543 MB / 433.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3082, allocations: 3.938 kB / 433.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.3084, allocations: 43.53 kB / 433.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.583e-05/0.3085, allocations: 35.59 kB / 433.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.3088, allocations: 87.72 kB / 434 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.309, allocations: 211.2 kB / 434.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.3092, allocations: 56.55 kB / 434.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.3094, allocations: 79.66 kB / 434.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.3095, allocations: 79.55 kB / 434.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.3095, allocations: 16 kB / 434.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.113e-05/0.3096, allocations: 12 kB / 434.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.3096, allocations: 39.8 kB / 434.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.972e-05/0.3097, allocations: 83.47 kB / 434.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.31, allocations: 179.5 kB / 434.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.31, allocations: 4 kB / 434.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.31, allocations: 0 / 434.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.31, allocations: 7.938 kB / 434.8 MB, free: 3.105 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.0007265/0.3107, allocations: 437.1 kB / 435.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3108, allocations: 8.031 kB / 435.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.3108, allocations: 42.75 kB / 435.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.3111, allocations: 48.77 kB / 435.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.3114, allocations: 182.1 kB / 435.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.3114, allocations: 12.38 kB / 435.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.3115, allocations: 12.38 kB / 435.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.3118, allocations: 164.3 kB / 435.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3118, allocations: 0 / 435.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3118, allocations: 4 kB / 435.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3118, allocations: 4 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.312, allocations: 99.88 kB / 435.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009951/0.313, allocations: 0.6051 MB / 436.4 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.3133, allocations: 127.8 kB / 436.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.3134, allocations: 54.67 kB / 436.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.3134, allocations: 4 kB / 436.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3135, allocations: 38.56 kB / 436.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.3135, allocations: 0 / 436.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005031/0.314, allocations: 185.3 kB / 436.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.3141, allocations: 106.8 kB / 436.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.3143, allocations: 233.9 kB / 437.1 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3143, allocations: 25.7 kB / 437.1 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.3144, allocations: 140.2 kB / 437.3 MB, free: 400 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.3145, allocations: 51.52 kB / 437.3 MB, free: 348 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.3145, allocations: 41.7 kB / 437.4 MB, free: 300 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3147, allocations: 326.8 kB / 437.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3148, allocations: 39.97 kB / 437.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.315, allocations: 93.34 kB / 437.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.3153, allocations: 150.6 kB / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.3153, allocations: 3.938 kB / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003463/0.3156, allocations: 185.3 kB / 438.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3156, allocations: 4 kB / 438.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.3156, allocations: 4 kB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3156, allocations: 4.188 kB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.3158, allocations: 39.97 kB / 438.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3158, allocations: 3.938 kB / 438.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3159, allocations: 19.83 kB / 438.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.3159, allocations: 8 kB / 438.2 MB, free: 15.37 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.0001168/0.3161, allocations: 133.8 kB / 438.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/0.3161, allocations: 19.86 kB / 438.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.3165, allocations: 190.9 kB / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3165, allocations: 4 kB / 438.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3166, allocations: 0 / 438.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3166, allocations: 0 / 438.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.317, allocations: 249 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.317, allocations: 0 / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.3172, allocations: 39.97 kB / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3172, allocations: 0 / 438.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.3172, allocations: 8 kB / 438.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3172, allocations: 7.938 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3172, allocations: 0 / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.3178, allocations: 473.3 kB / 439.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.3179, allocations: 31.86 kB / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.3179, allocations: 0 / 439.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.3181, allocations: 12 kB / 439.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.3181, allocations: 11.97 kB / 439.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.3181, allocations: 8 kB / 439.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.3183, allocations: 173.2 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3183, allocations: 3.938 kB / 439.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003476/0.3186, allocations: 35.94 kB / 439.6 MB, free: 13.92 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.000904/0.3195, allocations: 1.006 MB / 440.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.3198, allocations: 116 kB / 440.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3199, allocations: 0 / 440.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.32, allocations: 59.84 kB / 440.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.3204, allocations: 16.5 kB / 440.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.3236, allocations: 2.593 MB / 443.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.3241, allocations: 0.7359 MB / 444.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.938e-05/0.3241, allocations: 29.45 kB / 444.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.3243, allocations: 71.41 kB / 444.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3243, allocations: 0 / 444.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.3576, allocations: 3.889 MB / 448.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.43, allocations: 8.609 kB / 448.1 MB, free: 5.316 MB / 350.1 MB " [Timeout remaining time 648] (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.262492440000642]