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.001668/0.001668, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002039/0.002039, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001536/0.001536, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.297, allocations: 53.36 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003533/0.3005, allocations: 1.916 MB / 433 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.3018, allocations: 0.6077 MB / 433.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.302, allocations: 11.88 kB / 433.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.3021, allocations: 43.53 kB / 433.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.324e-05/0.3022, allocations: 31.67 kB / 433.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.3026, allocations: 87.77 kB / 433.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.3028, allocations: 211.1 kB / 434 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.303, allocations: 56.36 kB / 434 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.3032, allocations: 79.7 kB / 434.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.3033, allocations: 79.5 kB / 434.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.3034, allocations: 12 kB / 434.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.906e-05/0.3034, allocations: 16 kB / 434.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.3035, allocations: 39.84 kB / 434.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.338e-05/0.3036, allocations: 75.53 kB / 434.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.3038, allocations: 176.9 kB / 434.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3038, allocations: 0 / 434.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3038, allocations: 0 / 434.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.3038, allocations: 0 / 434.5 MB, free: 3.219 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.0007442/0.3046, allocations: 437.1 kB / 434.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3046, allocations: 8.031 kB / 434.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.3047, allocations: 46.73 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/0.3049, allocations: 48.77 kB / 435 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.3053, allocations: 190 kB / 435.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3053, allocations: 8.375 kB / 435.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.3053, allocations: 12.38 kB / 435.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.3056, allocations: 164.3 kB / 435.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3056, allocations: 0 / 435.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3057, allocations: 4 kB / 435.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3057, allocations: 4 kB / 435.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.3059, allocations: 91.89 kB / 435.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009985/0.3069, allocations: 0.5817 MB / 436.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.3072, allocations: 127.8 kB / 436.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3073, allocations: 54.67 kB / 436.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3073, allocations: 4 kB / 436.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.3074, allocations: 38.56 kB / 436.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.3074, allocations: 0 / 436.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005311/0.3079, allocations: 181.7 kB / 436.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.308, allocations: 110.8 kB / 436.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.3083, allocations: 237.9 kB / 436.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3083, allocations: 25.7 kB / 436.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3084, allocations: 136.1 kB / 437 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/0.3084, allocations: 51.53 kB / 437 MB, free: 488 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.3085, allocations: 37.83 kB / 437.1 MB, free: 444 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3087, allocations: 330.8 kB / 437.4 MB, free: 104 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.3088, allocations: 44.05 kB / 437.4 MB, free: 60 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.309, allocations: 98.77 kB / 437.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.3092, allocations: 138.8 kB / 437.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3092, allocations: 7.938 kB / 437.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003577/0.3096, allocations: 181.3 kB / 437.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3096, allocations: 4 kB / 437.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.3096, allocations: 4 kB / 437.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3096, allocations: 192 / 437.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.3098, allocations: 47.91 kB / 437.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3098, allocations: 4 kB / 437.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3099, allocations: 11.89 kB / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.3099, allocations: 11.98 kB / 437.9 MB, free: 15.5 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.0001254/0.3101, allocations: 133.7 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.525e-05/0.3102, allocations: 23.86 kB / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.3106, allocations: 179 kB / 438.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.3106, allocations: 8 kB / 438.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3106, allocations: 0 / 438.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.3106, allocations: 7.984 kB / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.3111, allocations: 224.5 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3111, allocations: 4 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.3113, allocations: 35.91 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3113, allocations: 0 / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.3113, allocations: 8 kB / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3113, allocations: 0 / 438.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3113, allocations: 4 kB / 438.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/0.3119, allocations: 480.2 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.312, allocations: 20.05 kB / 439 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.312, allocations: 12.05 kB / 439 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3122, allocations: 4 kB / 439 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.3122, allocations: 23.84 kB / 439.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3123, allocations: 4 kB / 439.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.3124, allocations: 177.2 kB / 439.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3124, allocations: 0 / 439.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.3128, allocations: 31.94 kB / 439.3 MB, free: 14.08 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.0009192/0.3137, allocations: 1.019 MB / 440.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003334/0.314, allocations: 107.8 kB / 440.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.314, allocations: 4 kB / 440.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.3142, allocations: 60.28 kB / 440.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3146, allocations: 24.02 kB / 440.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.318, allocations: 2.581 MB / 443.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.3182, allocations: 129.8 kB / 443.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.747e-05/0.3183, allocations: 25.47 kB / 443.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3184, allocations: 75.41 kB / 443.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3184, allocations: 3.938 kB / 443.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/0.3521, allocations: 4.274 MB / 447.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.62, allocations: 10.03 kB / 447.6 MB, free: 5.73 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.405098728981102]