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.001928/0.001928, 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 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.00162/0.00162, allocations: 214.4 kB / 23.73 MB, free: 4.156 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.582/1.582, allocations: 230.6 MB / 257.5 MB, free: 7.801 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 51.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2919, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003187/0.2951, allocations: 1.914 MB / 433 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.2962, allocations: 0.6038 MB / 433.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.2963, allocations: 11.88 kB / 433.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.2965, allocations: 43.53 kB / 433.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.35e-05/0.2966, allocations: 39.59 kB / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.2968, allocations: 83.83 kB / 433.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.2971, allocations: 211.1 kB / 434 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.2972, allocations: 52.31 kB / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.2974, allocations: 83.69 kB / 434.1 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.2975, allocations: 67.58 kB / 434.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.2976, allocations: 12 kB / 434.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.599e-05/0.2976, allocations: 19.98 kB / 434.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/0.2976, allocations: 39.78 kB / 434.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.122e-05/0.2977, allocations: 67.55 kB / 434.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.298, allocations: 177 kB / 434.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.298, allocations: 8 kB / 434.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.298, allocations: 0 / 434.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.298, allocations: 0 / 434.5 MB, free: 3.195 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.0006825/0.2987, allocations: 437.1 kB / 434.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2987, allocations: 11.97 kB / 434.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.2987, allocations: 46.73 kB / 435 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.299, allocations: 40.78 kB / 435 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.2993, allocations: 190.1 kB / 435.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.2993, allocations: 16.3 kB / 435.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.2994, allocations: 12.38 kB / 435.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.2998, allocations: 160.3 kB / 435.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.2998, allocations: 0 / 435.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.2998, allocations: 4 kB / 435.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2998, allocations: 4 kB / 435.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.3002, allocations: 91.88 kB / 435.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.3015, allocations: 0.5856 MB / 436.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.3019, allocations: 127.8 kB / 436.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.3021, allocations: 54.67 kB / 436.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.3021, allocations: 7.984 kB / 436.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.3022, allocations: 34.56 kB / 436.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.3022, allocations: 0 / 436.3 MB, free: 1.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007483/0.3029, allocations: 181.9 kB / 436.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.303, allocations: 118.7 kB / 436.6 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.3034, allocations: 229.9 kB / 436.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.3034, allocations: 33.7 kB / 436.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.3036, allocations: 128.1 kB / 437 MB, free: 0.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.3036, allocations: 55.52 kB / 437 MB, free: 456 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.3037, allocations: 33.7 kB / 437 MB, free: 416 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.3039, allocations: 330.8 kB / 437.4 MB, free: 76 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.3041, allocations: 43.91 kB / 437.4 MB, free: 32 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.3044, allocations: 94.88 kB / 437.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.3048, allocations: 142.7 kB / 437.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.3048, allocations: 7.938 kB / 437.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005627/0.3053, allocations: 185.3 kB / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3054, allocations: 4 kB / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3054, allocations: 4 kB / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3054, allocations: 0 / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.3056, allocations: 35.97 kB / 437.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.3057, allocations: 3.938 kB / 437.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.3058, allocations: 20.08 kB / 437.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.3058, allocations: 12 kB / 437.9 MB, free: 15.48 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.0001663/0.306, allocations: 133.8 kB / 438 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.3061, allocations: 19.86 kB / 438.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005765/0.3067, allocations: 182.9 kB / 438.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3067, allocations: 4 kB / 438.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3067, allocations: 0 / 438.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.3067, allocations: 0 / 438.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007402/0.3075, allocations: 232.5 kB / 438.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3075, allocations: 8 kB / 438.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003208/0.3078, allocations: 27.98 kB / 438.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3078, allocations: 0 / 438.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.3078, allocations: 11.98 kB / 438.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3078, allocations: 272 / 438.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/0.3078, allocations: 11.92 kB / 438.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008608/0.3087, allocations: 477.7 kB / 439 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.3088, allocations: 15.86 kB / 439 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.3088, allocations: 8.062 kB / 439 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.3091, allocations: 11.98 kB / 439 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.3092, allocations: 15.92 kB / 439 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.3092, allocations: 7.984 kB / 439 MB, free: 14.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002687/0.3095, allocations: 177.2 kB / 439.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3095, allocations: 0 / 439.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006464/0.3101, allocations: 31.94 kB / 439.3 MB, free: 14.05 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.001278/0.3114, allocations: 1.014 MB / 440.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004582/0.3119, allocations: 107.9 kB / 440.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3119, allocations: 0 / 440.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.3121, allocations: 63.89 kB / 440.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007154/0.3128, allocations: 20.44 kB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.3177, allocations: 2.582 MB / 443 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.3179, allocations: 137.8 kB / 443.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.3181, allocations: 21.47 kB / 443.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.3182, allocations: 71.41 kB / 443.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3182, allocations: 7.938 kB / 443.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03588/0.3541, allocations: 4.223 MB / 447.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.81, allocations: 7.312 kB / 447.5 MB, free: 5.754 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Blocks_Examples_Modulation.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sine.y from file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable sinAM.y in file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sinAM.y from file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable cosAM.y in file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable cosAM.y from file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable sinFM.y in file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable sinFM.y from file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv failed! Error: Could not read variable cosFM.y in file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv. Warning: Get data of variable cosFM.y from file Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.774717537686229]